Hello,
 I have followed the document below to set up a gateway for 2 vlans:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html
All servers behind the switch can connect to the Internet without any problems. However, I cannot ping the switch IP from the outside nor inside of the network. I have tried to change the IP of the switch, but still the switch cannot be visible in the network (all servers behind works without any glitch.) Could anyone point me out the error?

 Below is the network diagram:
Internet ----- FreeBSD gateway ---- Switch ---- Few servers

For FreeBSD gateway, I have that few lines in /etc/rc.d:
defaultrouter="10.0.0.1"
gateway_enable="YES"
ifconfig_em0="inet 10.0.0.2  netmask 255.255.255.252"
ifconfig_em1="inet 172.16.0.1  netmask 255.255.255.224"
static_routes="lan"
route_lan="-net 172.16.0.1/24 172.16.0.2"

*The IP of the switch is 172.16.0.2
**All actual IPs are changed to dummy IPs.

Thanks
Pang
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to