I have FreeNAS -11.2-U2.1, up-to-date.
I have 2 NIC installed on the box, one towards the Provider switch, second connected directly with Apple TV. I have enabled IP forwarding on the FreeNAS, but the AppleTV can not reach to the internet thru the FreeNAS box/
Setup is Internet - {Virgin hub GW 192.168.0.1/24} ---- {192.168.0.115/24 on re0 FreeNAS, second NIC on in as re1 192.168.111/24} ----- AppleTV 192.168.1.222/24
Can not figure out what is wrong here; pasting :
--- ifconfig logs (re1 is currently disconnected this is why is showing "no carrier" ------
root@freenas:~ # ifconfig
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 64:70:02:00:42:2d
hwaddr 64:70:02:00:42:2d
inet 192.168.0.115 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.77 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::6670:2ff:fe00:422d%re0 prefixlen 64 scopeid 0x1
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re1: 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 bc:5f:f4:5a:d6:e8
hwaddr bc:5f:f4:5a:d6:e8
inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (none)
status: no carrier
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 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
--- routing table ------
root@freenas:~ # netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.0.1 UGS re0
127.0.0.1 link#3 UH lo0
192.168.0.0/24 link#1 U re0
192.168.0.77 link#1 UHS lo0
192.168.0.115 link#1 UHS lo0
192.168.1.0/24 link#2 U re1
192.168.1.111 link#2 UHS lo0
--- ping from re0 interface is working (the one directly connected to the Provider hub) -----
root@freenas:~ # ping -S 192.168.0.115 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.0.115: 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=122 time=12.648 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=9.200 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=16.550 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.200/12.799/16.550/3.003 ms
--- ping from re0 interface on the FreeNAS box connected to the Apple TV is not being routed to the Internet ----
root@freenas:~ # ping -S 192.168.1.111 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.1.111: 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
18 packets transmitted, 0 packets received, 100.0% packet loss
----
forwarding is enabled: ----
root@freenas:~ # sysctl -a | grep forwarding
net.inet.ip.forwarding: 1
net.inet6.ip6.forwarding: 0
Any ideas what might be wrong with this forwarding?
thanks
I have 2 NIC installed on the box, one towards the Provider switch, second connected directly with Apple TV. I have enabled IP forwarding on the FreeNAS, but the AppleTV can not reach to the internet thru the FreeNAS box/
Setup is Internet - {Virgin hub GW 192.168.0.1/24} ---- {192.168.0.115/24 on re0 FreeNAS, second NIC on in as re1 192.168.111/24} ----- AppleTV 192.168.1.222/24
Can not figure out what is wrong here; pasting :
--- ifconfig logs (re1 is currently disconnected this is why is showing "no carrier" ------
root@freenas:~ # ifconfig
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 64:70:02:00:42:2d
hwaddr 64:70:02:00:42:2d
inet 192.168.0.115 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.77 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::6670:2ff:fe00:422d%re0 prefixlen 64 scopeid 0x1
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re1: 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 bc:5f:f4:5a:d6:e8
hwaddr bc:5f:f4:5a:d6:e8
inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (none)
status: no carrier
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 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
--- routing table ------
root@freenas:~ # netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.0.1 UGS re0
127.0.0.1 link#3 UH lo0
192.168.0.0/24 link#1 U re0
192.168.0.77 link#1 UHS lo0
192.168.0.115 link#1 UHS lo0
192.168.1.0/24 link#2 U re1
192.168.1.111 link#2 UHS lo0
--- ping from re0 interface is working (the one directly connected to the Provider hub) -----
root@freenas:~ # ping -S 192.168.0.115 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.0.115: 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=122 time=12.648 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=122 time=9.200 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=122 time=16.550 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.200/12.799/16.550/3.003 ms
--- ping from re0 interface on the FreeNAS box connected to the Apple TV is not being routed to the Internet ----
root@freenas:~ # ping -S 192.168.1.111 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.1.111: 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
18 packets transmitted, 0 packets received, 100.0% packet loss
----
forwarding is enabled: ----
root@freenas:~ # sysctl -a | grep forwarding
net.inet.ip.forwarding: 1
net.inet6.ip6.forwarding: 0
Any ideas what might be wrong with this forwarding?
thanks