routing s VLAN-mi
To |
<CZdebian-l zavinac debian bod cz> |
From |
Anton Vlasatý <vlasaty zavinac novitech bod sk> |
Date |
Wed, 11 Jun 2003 14:36:10 +0200 |
Importance |
Normal |
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
podla www.linuxzone.cz
ifconfig eth1 mi nezobrazi IP adresy tohto rozhrania a ani sa nedaju
pingnut.
Taktiez sa v routovacej tabulke siete 192.168.15.0,192.168.13.0 ani sa
rozhranie eth1 alebo eth1.10, eth1.20 nedaju pridat do routovacej tabulky.
Vdaka za napady.
Tono
Partial thread listing: