Hi
added a second ethernet port as I need it to route.
dynamic ifconfig settings look OK using eth1
I'm guessing that a file " eth1 " needs to be added to /etc/netctl
the example file $this->bbcode_second_pass_code('', 'Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.23/24' '192.168.1.87/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
')
As the IP address for eth0 is asigned dynamically, it will always be 192.168.101.13 as thats reserved in the router
router address =192.168.101.1
So the routing doesn't get screwed up if the router mises its reserved address and gives it something else
can I do this
$this->bbcode_second_pass_code('', 'Description='A basic static ethernet connection'
Interface=eth1
Connection=ethernet
IP=static
Address=('192.168.100.1')
Routes=('192.168.100.0/24 via eth1')
Routes=('0.0.0.0/8 via eth0')
Gateway=eth0
DNS=('192.168.101.1')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
')
I'm not sure why the addresses are in brackets ??????
AND the routing doesn't look right to me,
whats wanted is anything on subnet 192.168.100.0 out on eth1
everything else out through eth0, (default route)
TIA