Re: routing s VLAN-mi
To |
czdebian-l zavinac debian bod cz |
From |
Martin Kucera <martin bod kucera zavinac gmx bod net> |
Date |
Wed, 11 Jun 2003 18:42:45 +0200 |
User-agent |
KMail/1.5.1 |
Vypada to, ze jste zapomnel na auto eth1.
Dne st 11. června 2003 14:36 Anton Vlasatý napsal(a):
> Zdarvim,
> skusam spravit router s podporou VLAN (802.1q), mam debian na jadre 2.4.20
> + instalovanu podporu 802.1q.
> Do /etc/network/intrefaces som pre jedno rozhranie definoval
>
> iface eth1.10 inet static
> pre-up vconfig add eth1 10
> pre-up ip link set eth1 up
> post-down vconfig rem eth1.10
> address 192.168.15.2
> netmask 255.255.255.0
> network 192.168.15.0
> broadcast 192.168.15.255
>
> iface eth1.20 inet static
> pre-up vconfig add eth1 20
> pre-up ip link set eth1 up
> post-down vconfig rem eth1.20
> address 192.168.13.2
> netmask 255.255.255.0
> network 192.168.13.0
> broadcast 192.168.13.0
>
Partial thread listing: