Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vance@zs93kvi:~$ cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- source /etc/network/interfaces.d/*
- auto lo
- iface lo inet loopback
- auto enc120.508
- iface enc120.508 inet static
- address 9.12.23.180
- netmask 255.255.255.0
- network 9.12.23.0
- broadcast 9.12.23.255
- gateway 9.12.23.1
- vlan-raw-device enc120
- auto enc180.1295
- iface en180.1295 inet static
- address 10.20.95.18
- netmask 255.255.255.0
- network 10.20.95.0
- broadcast 10.20.95.255
- vlan-raw-device enc180
- up ip route add 10.0.0.0/8 via 10.20.95.254 || true
- auto enc180.1299
- iface en180.1299 inet static
- address 10.20.102.18
- netmask 255.255.255.0
- network 10.20.102.0
- broadcast 10.20.102.255
- vlan-raw-device enc180
- vance@zs93kvi:~$ cat /run/network/ifstate
- lo=lo
- enc120.508=enc120.508
- vance@zs93kvi:~$ sudo cat /proc/net/vlan/config
- VLAN Dev name | VLAN ID
- Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
- enc120.508 | 508 | enc120
- enc180.1295 | 1295 | enc180
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement