SOLVED Help setting up jail to autostart with network on 11.1

Status
Not open for further replies.

svett

Cadet
Joined
Apr 28, 2017
Messages
3
I've been trying at this for a while without getting it to work. I get internet access on the jail only after I run the command 'dhclient epair0b'
Code:
root@emby:/ # ifconfig																											
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 0x1																				
	   inet 127.0.0.1 netmask 0xff000000																						 
	   nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>																				 
	   groups: lo																												
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500													 
	   options=8<VLAN_MTU>																										
	   ether 56:a8:e0:95:53:ab																									
	   inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255															 
	   inet6 fe80::54a8:e0ff:fe95:53ab%epair0b prefixlen 64 scopeid 0x2															
	   nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>																	
	   media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)																		
	   status: active																											
	   groups: epair
																											 
root@emby:/ # ping google.com																										
ping: cannot resolve google.com: Host name lookup failure
																			
root@emby:/ # dhclient epair0b																									
DHCPDISCOVER on epair0b to 255.255.255.255 port 67 interval 6																	 
DHCPOFFER from 192.168.1.100																										
DHCPREQUEST on epair0b to 255.255.255.255 port 67																				 
DHCPACK from 192.168.1.100																										
bound to 192.168.1.254 -- renewal in 3600 seconds.																				
root@emby:/ # ping google.com																									 
PING google.com (x.x.x.x): 56 data bytes																					
64 bytes from x.x.x.x: icmp_seq=0 ttl=54 time=8.492 ms																	 
64 bytes from x.x.x.x: icmp_seq=1 ttl=54 time=9.131 ms																	 
64 bytes from x.x.x.x: icmp_seq=2 ttl=54 time=9.126 ms																	 
64 bytes from x.x.x.x: icmp_seq=3 ttl=54 time=8.922 ms																	 
64 bytes from x.x.x.x: icmp_seq=4 ttl=54 time=9.235 ms																	 
^C																																
--- google.com ping statistics ---																								
5 packets transmitted, 5 packets received, 0.0% packet loss																		
round-trip min/avg/max/stddev = 8.492/8.981/9.235/0.265 ms

root@emby:/ # ifconfig																											
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 0x1																				
	   inet 127.0.0.1 netmask 0xff000000																						 
	   nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>																				 
	   groups: lo																												
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500													 
	   options=8<VLAN_MTU>																										
	   ether 56:a8:e0:95:53:ab																									
	   inet6 fe80::54a8:e0ff:fe95:53ab%epair0b prefixlen 64 scopeid 0x2															
	   inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255															 
	   nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>																	
	   media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)																		
	   status: active																											
	   groups: epair 


Edit:
Ended up deleting everything and making a new jail folder. Selected everything DHCP and its working now.
 
Last edited:
Status
Not open for further replies.
Top