interfaces: Add post-up route for the IDU

To be able to talk to the equipment we need to set a route
after the link is up. Assume that no other (e.g. 3G) equipment
is using the same IPv4 address range.

Message-ID: 55279904.9020802@sysmocom.de
This commit is contained in:
Holger Hans Peter Freyther 2015-04-10 15:28:58 +02:00
parent f5acd1801c
commit 8e95d188c5
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ iface lo inet loopback
# in the future we will use VLANs to use individual switch ports as
# break-out interfaces. For now we simply do DHCP.
iface eth0 inet dhcp
post-up ip r add 10.6.1.0/24 via 192.168.0.1
#eth1 is our admin interface and will provide dhcp to clients
auto eth1