Date: Sat, 9 Nov 2002 11:23:09 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: problems getting 4.7-STABLE gateway to behave Message-ID: <20021109102309.GA3446@freepuppy.bellavista.cz>
index | next in thread | raw e-mail
Hi there,
I have a problem getting routing on a freshly cvsupped STABLE box work
as I need. No surprise, given that I'm not much of a network person,
and this is the first time I'm doing something like that. A picture is
worth a thousand words...
internet
|
v
eth0/12.34.56.78
linux (NAT)
eth1/10.1.0.200
|
hub 1 -> Freepuppy de0/10.1.0.10
|
v
vx0/10.1.0.1
Lilith
ep0/10.0.0.1
|
hub 2
|
v
rl0/10.1.0.25
Ishtar
Lilith, Freepuppy, and that Linux box (called "fw") can ping each other
w/o problems. Ishtar can ping (and be pinged by) the windows boxes in
the same hub. The problem is that nothing gets from Lilith to the other
side of hub 2, nor the other way around.
It's not the cable (tried a few).
It's not the hub (tried two or three).
It's not the ep0 nic in Lilith (tried switching the ip's).
What the fsck is it?
lilith# uname -a
FreeBSD lilith.bellavista.cz 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Nov 9 01:38:03 CET 2002 roman@freepuppy.bellavista.cz:/usr/obj/usr/src/sys/LILITH_2 i386
lilith# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1
lilith# ifconfig
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.1.0.1 netmask 0xffffff00 broadcast 10.1.0.255
ether 00:a0:24:49:54:85
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
ether 00:a0:24:0d:b0:ee
media: Ethernet 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lilith# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default fw UGSc 1 0 vx0
10/24 link#2 UC 0 0 ep0
10.1/24 link#1 UC 2 0 vx0
10.1.0.10 00:80:c8:94:aa:c2 UHLW 1 159 vx0 489
fw 00:20:af:34:dc:94 UHLW 1 2 vx0 745
localhost localhost UH 0 0 lo0
--
If you cc me or take the list(s) out completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021109102309.GA3446>
