Dual NIC motherboard and DMZ jail

Status
Not open for further replies.

trumee

Explorer
Joined
Jun 29, 2015
Messages
68
Hello,

I have the forum recommended motherboard Supermicro X10Sl7-F which has dual NIC. The motherboard is connected to a router and gets the following ip addresses:

Network Summary:
Name IPv4 Address IPv6 Address
igb0 172.18.1.101/24
igb1 192.168.10.105/24
Nameserver
172.18.1.1
Default route
172.18.1.1

I want the jails to use the second (igb1) interface with their gateway defined as 192.168.10.1. This network is my DMZ network. Is this possible?
 
D

dlavigne

Guest
I believe so. When you create the jail, make sure the VIMAGE box is checked, the desired NIC is selected, and tie down the desired IP address, nameserver, and default gateway.
 
D

dlavigne

Guest
Does it work with VIMAGE checked and the desired addressing info input manually? ie without selecting the NIC?
 

trumee

Explorer
Joined
Jun 29, 2015
Messages
68
No, it didnt work. I setup things manually as shown in the attached images.

The routing table i get is this:
Code:

root@dmz:/ # netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.10.1 UGS 0 0 epair5
127.0.0.1 link#1 UH 0 0 lo0
192.168.10.0/24 link#2 U 0 0 epair5
192.168.10.15 link#2 UHS 0 0 lo0

Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0
::1 link#1 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
fe80::/10 ::1 UGRS lo0
fe80::%lo0/64 link#1 U lo0
fe80::1%lo0 link#1 UHS lo0
ff01::%lo0/32 ::1 U lo0
ff02::/16 ::1 UGRS lo0
ff02::%lo0/32 ::1 U lo0



and ping to the router or even the host doesnt work
Code:
root@dmz:/ # ping 192.168.10.105
PING 192.168.10.105 (192.168.10.105): 56 data bytes
ping: sendto: Host is down
^C
--- 192.168.10.105 ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
root@dmz:/ # ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
ping: sendto: Host is down
^C
--- 192.168.10.1 ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
root@dmz:/ #



any idea what could be wrong?
 

Attachments

  • switch1.png
    switch1.png
    28.2 KB · Views: 271
  • switch2.png
    switch2.png
    25 KB · Views: 252

Fish

Contributor
Joined
Jun 4, 2015
Messages
108
Are both NICs configured in FreeNAS? (Network>Interfaces)
 
Status
Not open for further replies.
Top