Hi! I have problem with routing on FreeBSD. I have ESXi 5 host. In there is 5 VMs and one of them is a BSD. I need create router on BSD. I try to setting up it with this manual: http://www.freebsd.org/doc/handbook/network-routing.html but problem is still the same...
I cant ping external network from local network. # ping -S 192.168.2.1 192.168.1.4 ... no replays ... many packets sent and 100% loss. Ok ^C. My configs: /ets/sysctl.conf net.inet.ip.forwarding=1 /etc/rc.conf ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" defaultrouter="192.168.1.1" gateway_enable="YES" static_routes="clnet" route_clnet="-net 192.168.2.0/24 192.168.1.10" after booting in netstat is: # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 2 em0 127.0.0.1 link#4 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 120 em0 192.168.1.10 link#1 UHS 0 0 lo0 192.168.2.0/24 link#2 U 0 0 em1 192.168.2.1 link#2 UHS 0 0 lo0 after /etc/rc.d/routing restart, I see: # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 2 em0 127.0.0.1 link#4 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 120 em0 192.168.1.10 link#1 UHS 0 0 lo0 192.168.2.0/24 192.168.1.10 U 0 0 em1 192.168.2.1 link#2 UHS 0 0 lo0 What I need to do for other VMs from routed network cat get the external network? Please help me solve this problem. If need more information, please write for me! Thanks! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"