VLAN and default gateway
Distro Debian 4.0 r1. I have few VLANs. My default gateway is PC with address from one of VLAN. I added default gw - 'route add default gw ip_address'. How can I do it permanently.
It seems that something like
iface vlan1250 inet static
address 10.100.250.199
netmask 255.255.255.0
up route add default gw 10.100.250.254
vlan_raw_device eth1
is not working, it doesn't want to start vlan interface this way. I've done dirty solution with script in /etc/init.d. Is there any better way.
Thanks
Mario
|