The second nic, eth1 is connected to a vlan on our inside interface and has an IP 192.168.105.20.
Code: Select all
/etc/network/interfaces
Code: Select all
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.10.10.17
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
gateway 10.10.10.1
# The secondary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.105.20
netmask 255.255.255.0
network 192.168.105.0
broadcast 192.168.105.255
gateway 192.168.105.1
Code: Select all
route -n
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 eth0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.105.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
Thanks in advance