[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
newbie lan problem
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: newbie lan problem
- From: Juan Havana <juanvana_(_at_)_sdf-eu_(_dot_)_org>
- Date: Sat, 5 Jul 2003 21:39:38 +0000
I'm setting up a home network for the first time, connecting Windows XP to
an OpenBSD gateway connected to my ISP. The problem is that OpenBSD
doesn't seem to be forwarding packets to the outside. Here is a diagram:
___________ __________ _________ _______
Windows XP| 10 BaseT |Ethernet| 10 BaseT |OpenBSD| TCP/IP |ISP |
Box |-----------|Hub |----------|Gateway|------------| |
----------- ---------- --------- -------
IP 192.168.0.1 IP Dynamically Assigned
Subnet Mask 255.255.0.0 (range 62.64.xxx.xxx)
DNS Primary 212.74.112.66 Gateway 192.168.10.123
DNS Second 212.74.112.67
List of configuration files and its contents I edited....
/etc/mygate 192.168.10.123
/etc/hosts.sis0 inet 192.168.0.2 255.255.255.0 NONE
/etc/hostname.sis0 inet 192.168.0.2 255.255.255.0 NONE
inet alias 192.168.0.3 255.255.255.255
inet alias 192.168.0.3 255.255.255.255
/etc/sysctl.conf net.inet.ip.forwarding=1
Netstat -r
Gateway Destination Flags Refs Use Mtu Interface
default My ISP UGS 1 4789 1500 tun0
loopback K6-2.my.domain UGRS 0 0 33224 lo0
K6-2.my.domain K6-2.my.domain UH 3 15 33224 lo0
192.168.0/24 link#1 UC 0 0 - sis0
192.168.0.2 0:9:5b:4:aa:f8 UHL 0 5345 - lo0
192.168.0.3 K6-2.my.domain UGHS 0 0 33224 lo0 =>
192.168.0/32 link#1 UC 0 0 - sis0
192.168.0.4 K6-2.my.domain UGHS 0 0 33224 lo0 =>
192.168.0.4/32 link#1 UC€ 0 0 - sis0
My ISP dial-62.64.xxx.xxx UH 1 0 1500 tun0
BASE-ADDRESS.MCAST K6-2.my.domain URS 0 0 33224 lo0
Internet6:
Destination Gateway Flags REFS Use Mtu Interface
:/104 ::1 UGRS 0 0 - lo0 =>
:/96 ::1 UGRS 0 0 - lo0
::1 ::1 UGRS 12 0 33224 lo0
::127.0.0.0/104 ::1 UGRS 0 0 - lo0
::224.0.0.0/100 ::1 UGRS 0 0 - lo0
::255.0.0.0/104 ::1 UGRS 0 0 - lo0
::ffff:0.0.0.0/96 ::1 UGRS 0 0 - lo0
2002::/24 ::1 UGRS 0 0 - lo0
2002:7f00::/24 ::1 UGRS 0 0 - lo0
2002:e000::120 ::1 UGRS 0 0 - lo0
2002:ff00::124 ::1 UGRS 0 0 - lo0
fe80::110 ::1 UGRS 0 0 - lo0
fe80::%sis0/64 link#1 UC 0 0 - sis0
fe80::209:5bff:fe0 0:9:5b:4:aa:f8 UHL 0 0 - lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 - lo0
fe80::1%lo0 link#5 UHL 0 0 - lo0
fec0::/10 ::1 UGRS 0 0 - lo0
ff01::/32 ::1 UC 0 0 - lo0
ff02::%sis0/32 link#1 UC 0 0 - sis0
ff02::%lo0/32 ::1 UC 0 0 - lo0
ff02::%tun0/32 link10 UC 0 0 1500 tun0
The network is physically connected as I can identify Windows XP on
192.168.0.1 using nmap.
Also ifconfig -a shows my NIC is configured.
Thanks,
Juan
Visit your host, monkey.org