route problem

Andre Goree andre at drenet.net
Mon May 20 23:27:44 UTC 2013


On 2013-05-20 5:01 pm, Pol Hallen wrote:
> If you don't mind could you post the output of ifconfig from both 
> boxes?
> 
> server1:
> 
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
> 1500
> 	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> 	ether 70:71:bc:94:c3:6d
> 	inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255
> 	inet6 fe80::7271:bcff:fe94:c36d%re0 prefixlen 64 scopeid 0x1
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
> 1500
> 	options=80008<VLAN_MTU,LINKSTATE>
> 	ether 00:60:08:6d:59:50
> 	inet 192.168.2.250 netmask 0xffffff00 broadcast 192.168.2.255
> 	inet6 fe80::260:8ff:fe6d:5950%xl0 prefixlen 64 scopeid 0x7
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> 	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> 	inet6 ::1 prefixlen 128
> 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
> 	inet 127.0.0.1 netmask 0xff000000
> 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 
> server2
> 
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
> 1500
> 	options=2009<RXCSUM,VLAN_MTU,WOL_MAGIC>
> 	ether 00:0f:fe:b3:db:8c
> 	inet6 fe80::20f:feff:feb3:db8c%fxp0 prefixlen 64 scopeid 0x6
> 	inet 192.168.2.52 netmask 0xffffff00 broadcast 192.168.2.255
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> 	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> 	inet6 ::1 prefixlen 128
> 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
> 	inet 127.0.0.1 netmask 0xff000000
> 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 


On 'server1', what is the output of 'sysctl net.inet.ip.forwarding'?  
Perhaps you did not reboot after you set 'gateway_enable="YES"'?


This is from my box with forwarding enabled:
root at daemon ~ # sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1
root at daemon ~ #


-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://blog.drenet.net
PGP key   - http://www.drenet.net/0x83ADAAAB.asc
-=-=-=-=-=-


More information about the freebsd-questions mailing list