[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vlan debian etch пинг не идет



Hi,

Имхо, между сервером, на котором поднимаются vlanы и свичом, должен
быть _транк_. Транк, настроенный со стороны свича.

Сохранилась у меня одна заготовка, настраиваемая когда-то. Со стороны
сервера две сетевухи связывались в одну бондингом; свич был
цисковский.

==================================================
Со стороны сервера:

/etc/modprobe.d/aliases
alias bond0 bonding
options bond0 mode=1 miimon=100

/etc/network/interfaces
auto bond0
iface bond0 inet manual
        up modprobe bonding -o bond0 mode=1 miimon=100
        up ifconfig bond0 0.0.0.0
        up ifenslave bond0 eth1 eth3
        down ifenslave -d bond0 eth1 eth3
        down ifconfig bond0 down
        down rmmod bonding
auto vlan39
iface vlan39 inet static
        address 10.39.0.35
        netmask 255.255.255.224
        gateway 10.39.0.33
        vlan_raw_device bond0

Со стороны циски:
!
interface FastEthernet0/1
 description ##### phorum eth0
 switchport trunk encapsulation dot1q
 switchport mode trunk
 spanning-tree portfast
end
!
!
interface FastEthernet0/2
 description ##### phorum eth1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 spanning-tree portfast
end
!
!
interface Vlan39
 ip address 10.39.0.33 255.255.255.224
!
==================================================

И помнится мне, что 10.39.0.35, 0.39.0.33-его с успехом пинговал.

2008/1/24, Linux Administrator <nix@shartash.ru>:
> Здравствуйте.
>
> Возникла необходимость организовать несколько vlan'ов
> os - debian etch
> net - 10.0.0.0/23
> gate - 10.0.0.1
>
> ip forward настроен
> 8021q - подгружен
>
> контроллер - Ethernet controller: Intel Corporation 82546EB Gigabit
> Ethernet Controller
>
>
> создаю vlan 192.168.10.0/29
> завожу windows клиента с ip 192.168.10.2
> и.. он (клиент) не видит(не пингует) ни 192.168.10.1 ни любую другую
> машину в этой сети (192.168.10.0/29)
>
> === /etc/network/interfaces
>
> iface eth2.2 inet static
>          address 192.168.10.1
>          netmask 255.255.255.248
>          broadcast 192.168.10.7
>          network 192.168.10.0
>          pre-up vconfig add eth2 2
>          post-down vconfig rem eth2 2
>
>
> === ifconfig =====
>
> eth2      Link encap:Ethernet  HWaddr 00:04:23:BC:1C:E1
>            inet6 addr: fe80::204:23ff:febc:1ce1/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:50947 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:4559047 (4.3 MiB)  TX bytes:1008 (1008.0 b)
>            Base address:0x4040 Memory:efa20000-efa40000
>
> eth2.2    Link encap:Ethernet  HWaddr 00:04:23:BC:1C:E1
>            inet addr:192.168.10.1  Bcast:192.168.10.7  Mask:255.255.255.248
>            inet6 addr: fe80::204:23ff:febc:1ce1/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)
>
>
> Буду благодарен за помошь.
>
> --
> Виталий
>
>
> --
> To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


-- 
best regards,
Alexander Popov         mailto:popov.ap@gmail.com
jabber: cutter@xmpp.ru

Reply to: