Date: Thu, 12 Aug 1999 12:54:49 +0800 From: Ng Kok Leong <klng@psl.com.sg> To: freebsd-net@FreeBSD.ORG Cc: klng@psl.com.sg Subject: Set up a router Message-ID: <37B25396.88ADF4C3@psl.com.sg>
next in thread | raw e-mail | index | archive | help
Hi, I am new to FreeBSD and router setup. I have two ethernet cards for the router machine and they are configure as follows: fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 202.14.153.187 netmask 0xffffff00 broadcast 202.14.153.255 ether 00:90:27:06:3d:88 xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 202.14.154.187 netmask 0xffffff00 broadcast 202.14.154.255 ether 00:60:97:b8:cf:70 The card, fxp0, is connected to Machine A with IP address, 202.14.153.190 through a hub and the card, xl0, is connected to Machine B with IP address, 202.14.154.186 through another hub. There is no problem in communication between router and Machine A and router and Machine B. However, when I tried to ping Machine A from Machine B and vice versa, it fails to connect. The IP forwarding is enabled by setting the gateway_enable = yes. The routing table obtained using netstat in the router is: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 202.14.153.187 UGSc 2 10 fxp0 localhost localhost UH 0 1 lo0 202.14.153 link#1 UC 0 0 fxp0 202.14.153.187 0:90:27:6:3d:88 UHLW 1 0 lo0 202.14.154 link#2 UC 0 0 xl0 202.14.154.186 0:a0:c9:dd:65:c9 UHLW 0 33 xl0 1190 202.14.154.187 0:60:97:b8:cf:70 UHLW 0 72 lo0 May I know what is the problem with my router configuration? How can I configure the router for Machine A to be able to talk to Machine B without changing the physical connection? Hope to hear from you soon. Thank you in advance. Regards Kok Leong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B25396.88ADF4C3>