# show vlan
VID : 1 VLAN Name : default
VLAN TYPE : static Advertisement : Enabled
Member ports : 1,5
Static ports : 1,5
Current Tagged Ports : 5
Current Untagged Ports : 1
Static Tagged Ports : 5
Static Untagged Ports : 1
Forbidden Ports :
1 порт — канальный с другим свитчом, 5 — мой комп.
ip свитча: 10.1.1.23
мой ip: 10.1.1.24
config_eth0="null"
vlan_start_eth0="yes"
vlans_eth0="1"
vlan1_name="vlan1"
config_vlan1="10.1.1.24/24"
/etc/init.d/net.eth0 restart
# route add default vlan1
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:a9:9b:1d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3315 errors:0 dropped:0 overruns:0 frame:0
TX packets:3315 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:391454 (382.2 KiB) TX bytes:391454 (382.2 KiB)
vlan1 Link encap:Ethernet HWaddr 00:11:2f:a9:9b:1d
inet addr:10.1.1.24 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ping 10.1.1.23 не пингуется, почему?