Sub-IP for Jail?

Status
Not open for further replies.

white_flag

Dabbler
Joined
Jul 18, 2012
Messages
16
ifconfig -a


Code:
,WOL_MCAST,WOL_MAGIC>                                                           
        ether 40:61:86:2e:16:bc                                                 
        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255           
        media: Ethernet autoselect (100baseTX <full-duplex>)                    
        status: active                                                          
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384               
        options=3<RXCSUM,TXCSUM>                                                
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2                              
        inet6 ::1 prefixlen 128                                                 
        inet 127.0.0.1 netmask 0xff000000                                       
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 7e:c0:e8:fd:d6:a8                                                 
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15             
        maxage 20 holdcnt 6 proto rstp maxaddr 100 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 4 priority 128 path cost 2000                  
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
 1500                                                                           
        ether 02:b7:72:00:04:0a                                                 
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                     
        status: active



netstat -rn
Code:

[root@freenas ~]# netstat -rn                                                   
Routing tables                                                                  
                                                                                
Internet:                                                                       
Destination        Gateway            Flags    Refs      Use  Netif Expire      
127.0.0.1          link#2             UH          0     2581    lo0             
192.168.1.0/24     link#1             U           0      681    re0             
192.168.1.100      link#1             UHS         0       18    lo0             
                                                                                
Internet6:                                                                      
Destination                       Gateway                       Flags      Netif
 Expire                                                                         
::1                               ::1                           UH          lo0 
fe80::%lo0/64                     link#2                        U           lo0 
fe80::1%lo0                       link#2                        UHS         lo0 
ff01:2::/32                       fe80::1%lo0                   U           lo0 
ff02::%lo0/32                     fe80::1%lo0 


jexec 1 ifconfig -a

Code:

[root@freenas ~]# jexec 1 ifconfig -a                                           
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384               
        options=3<RXCSUM,TXCSUM>                                                
        inet 127.0.0.1 netmask 0xff000000                                       
        inet6 ::1 prefixlen 128                                                 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1                              
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 02:b7:72:00:05:0b                                                 
        inet 192.168.1.88 netmask 0xffffff00 broadcast 192.168.1.255            
        inet6 fe80::b7:72ff:fe00:50b%epair0b prefixlen 64 scopeid 0x2           
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                     
        status: active 
 

white_flag

Dabbler
Joined
Jul 18, 2012
Messages
16
ifconfig -a


Code:
,WOL_MCAST,WOL_MAGIC>                                                           
        ether 40:61:86:2e:16:bc                                                 
        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255           
        media: Ethernet autoselect (100baseTX <full-duplex>)                    
        status: active                                                          
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384               
        options=3<RXCSUM,TXCSUM>                                                
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2                              
        inet6 ::1 prefixlen 128                                                 
        inet 127.0.0.1 netmask 0xff000000                                       
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 7e:c0:e8:fd:d6:a8                                                 
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15             
        maxage 20 holdcnt 6 proto rstp maxaddr 100 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 4 priority 128 path cost 2000                  
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
 1500                                                                           
        ether 02:b7:72:00:04:0a                                                 
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                     
        status: active



netstat -rn
Code:

[root@freenas ~]# netstat -rn                                                   
Routing tables                                                                  
                                                                                
Internet:                                                                       
Destination        Gateway            Flags    Refs      Use  Netif Expire      
127.0.0.1          link#2             UH          0     2581    lo0             
192.168.1.0/24     link#1             U           0      681    re0             
192.168.1.100      link#1             UHS         0       18    lo0             
                                                                                
Internet6:                                                                      
Destination                       Gateway                       Flags      Netif
 Expire                                                                         
::1                               ::1                           UH          lo0 
fe80::%lo0/64                     link#2                        U           lo0 
fe80::1%lo0                       link#2                        UHS         lo0 
ff01:2::/32                       fe80::1%lo0                   U           lo0 
ff02::%lo0/32                     fe80::1%lo0 


jexec 1 ifconfig -a

Code:

[root@freenas ~]# jexec 1 ifconfig -a                                           
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384               
        options=3<RXCSUM,TXCSUM>                                                
        inet 127.0.0.1 netmask 0xff000000                                       
        inet6 ::1 prefixlen 128                                                 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1                              
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 02:b7:72:00:05:0b                                                 
        inet 192.168.1.88 netmask 0xffffff00 broadcast 192.168.1.255            
        inet6 fe80::b7:72ff:fe00:50b%epair0b prefixlen 64 scopeid 0x2           
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>                                  
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                     
        status: active 
 

munificent

Explorer
Joined
Jul 3, 2012
Messages
54
Are you using static IP?
Have you configured the default gateway under Network -> Global Conf?

If you didn't, stop the jail, configure it and then start it again...

William, I have not configured my default gateway. Hurray! This may be the problem. As I see you are currently online, is this the same IP as my router assigned to my FreeNAS or am I way off. And what should I do with nameserver fields?

NB - I will also look this up.

EDIT: My router is assigning IP addresses to networked devices. I've not messed with that.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
William, I have not configured my default gateway. Hurray! This may be the problem. As I see you are currently online, is this the same IP as my router assigned to my FreeNAS or am I way off. And what should I do with nameserver fields?

NB - I will also look this up.

EDIT: My router is assigning IP addresses to networked devices. I've not messed with that.

Have you manually assigned 192.168.1.69?

The default gateway is usually the IP of your router...
 

munificent

Explorer
Joined
Jul 3, 2012
Messages
54
The router assigned that IP to the Freenas box. I'll enter in the IP of the router and go from there.
 

white_flag

Dabbler
Joined
Jul 18, 2012
Messages
16
seems that long logos need to be approve from moderator (to be posted)
I add also default gateway from the router to freenas box (it is not in configuration screen from network card, so that it is why I forget it).
for the moment, I do not have any warnings.

now I need to config minidlna :)
 

munificent

Explorer
Joined
Jul 3, 2012
Messages
54
So according to the 8.2 documentation, default gateway should be left blank, but nameserver 1 should be filled in. This is the field for the primary DNS server, ie - my router's IP, and I have now filled this in. The amber indicator did not go out, however, so I am not sure this on its own is enough. I'll restart the system and see if that brings any more luck.

EDIT: sort of. I filled in both the gateway and nameserver fields, and the amber alert went out. I thought that would have solved the problem, but it seems not. Now, when I try to turn on transmission, I get the generic "Some error occured".
EDIT 2: I uninstalled the earlier transmission addon and went at it again. It now says ON. ON! ON! But I'm not going to get carried away just yet. I now need to check it's actually working as intended and the problem is indeed fixed.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
That's my mistake for linking to the wrong file. The file I downloaded was the RC1 jail pbi. The filename is FreeNAS-8.2.0-RC1-x64.Plugins_Jail.pbi. I do have a spare usb stick and could do a fresh install but I can assure you I'm running RC1 all the way.
Well, it confused me. You would be surprised what can be fixed by a fresh install. Your problem, at least initial problem, was you had no default gateway defined. Hopefully everything is working for you now.
 

white_flag

Dabbler
Joined
Jul 18, 2012
Messages
16
In my case the default getway was not set, so I put the getway from the router (192.168.1.99) and after that, no warnings.
Jail is working and also miniDLNA. this software is preaty cool. very nice done :)
 
Status
Not open for further replies.
Top