VIMAGE jail does not get ateway

Status
Not open for further replies.

shpokas

Dabbler
Joined
Oct 3, 2014
Messages
32
Hi there again,
any quick thought why VIMAGE jail does not get default gateway? epair0a interface seems to be fine.

[shpokas@smtp ~]$ ping www.freenas.org
PING edge.anycastcdn.net (188.165.6.11): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host


If I try to add default route _after_ jail boots, I get "fib 0: Invalid argument"

root@smtp:~ # route add -net default 192.168.17.1
route: writing to routing socket: Invalid argument
add net default: gateway 192.168.17.1 fib 0: Invalid argument


I post below ifconfig output from FreeNAS and jail as well as jail config screen.

Thanks for any ideas!

FreeNAS ifconfig

[root@vfs] ~# ifconfig
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>

ether a0:1d:48:c7:ca:94
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
bge1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>

ether a0:1d:48:c7:ca:94
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=9<PERFORMNUD,IFDISABLED>
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 0x7
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>

ether a0:1d:48:c7:ca:94
inet 192.168.17.17 netmask 0xffffff00 broadcast 192.168.17.255
inet6 fe80::a21d:48ff:fec7:ca94%lagg0 prefixlen 64 scopeid 0x8
inet6 2001:470:de8e:0:a21d:48ff:fec7:ca94 prefixlen 64 autoconf
inet6 2001:470:27:3ab:a21d:48ff:fec7:ca94 prefixlen 64 autoconf
inet 192.168.17.4 netmask 0xffffff00 broadcast 192.168.17.255
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: bge1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: bge0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:c0:75:36:94:00
nd6 options=1<PERFORMNUD>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

ifmaxaddr 0 port 10 priority 128 path cost 2000
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 8 priority 128 path cost 20000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:00:ea:00:0a:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active

Jail ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:78:8c:00:0b:0b
inet 192.168.17.3 netmask 0xffffff00 broadcast 192.168.17.255
nd6 options=9<PERFORMNUD,IFDISABLED>
 

Attachments

  • Screenshot 2014-11-12 23.36.10.png
    Screenshot 2014-11-12 23.36.10.png
    64.5 KB · Views: 195
Last edited:

shpokas

Dabbler
Joined
Oct 3, 2014
Messages
32
Found this in boot log - could it be related?

ng_ether_ifnet_arrival_event: can't re-name node epair0b
ifa_del_loopback_route: deletion failed
 
D

dlavigne

Guest
Might be. Please create a bug report at bugs.freenas.org and post the issue number here.
 
Status
Not open for further replies.
Top