Turniej Pokemon
FAQ
Szukaj
Użytkownicy
Grupy
Galerie
Rejestracja
Profil
Zaloguj się, by sprawdzić wiadomości
Zaloguj
Forum Turniej Pokemon Strona Główna
->
Aja
Napisz odpowiedź
Użytkownik
Temat
Treść wiadomości
Emotikony
Więcej Ikon
Kolor:
Domyślny
Ciemnoczerwony
Czerwony
Pomarańćzowy
Brązowy
Żółty
Zielony
Oliwkowy
Błękitny
Niebieski
Ciemnoniebieski
Purpurowy
Fioletowy
Biały
Czarny
Rozmiar:
Minimalny
Mały
Normalny
Duży
Ogromny
Zamknij Tagi
Opcje
HTML:
NIE
BBCode
:
TAK
Uśmieszki:
TAK
Wyłącz BBCode w tym poście
Wyłącz Uśmieszki w tym poście
Kod potwierdzający: *
Wszystkie czasy w strefie EET (Europa)
Skocz do:
Wybierz forum
Zarząd
----------------
Regulamin
Ogłoszenia
Trenerzy
----------------
Rio
Piter
Aja
Hao
Rużyk
Turniej
----------------
Zgłoszenia
Areny
----------------
Arena Wody
Arena Ziemii
Arena Powietrza
Arena Ognia
Arena Elektryczności
Arena Trucizny
Arena Rośliny
Arena Normal
Przegląd tematu
Autor
Wiadomość
ghdhair100
Wysłany: Wto 3:38, 15 Mar 2011
Temat postu: vlan--cisco-h3c
s3100配置:
3600+CISCO2650外网配置问题
3600 e1/0/23 接 CISCO 2650 上F0/0
3600配置:
interface Vlan-interface2
ip address 192.168.10.1 255.255.254.0
#
interface Vlan-interface3
ip address 192.168.20.1 255.255.254.0
interface Vlan-interface10
ip address 192.168.1.2 255.255.255.0
interface Ethernet1/0/23
port access vlan 10
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
2650配置:
int f0/0
ip add 192.168.1.1 255.255.255.0
ip route 192.168.0.0 0.0.0.255 192.168.1.2
s3600配置:
其余3100配置雷同,只需要修改相应的vlan和管理vlan的地址
[ ]int vlan 1
[ ]ip add 192.168.0.2 24
[ ]quit
[ ]vlan 10
[ ]port e1/0/2 to e1/0/24
[ ]quit
[ ]int vlan 2
[ ]port link-type trunk
[ ] port trunk permit vlan 10
[ ]quit
[ ]ip route-static 0.0.0.0 0.0.0.0 192.168.0.1
[ ]user-interface vty 0 4
[ ]authentication-mode password
[ ]set authentication pass ciper huawei
[ ]user privelege level 3
[ ]quit
[ ] quit
< >save
划VLAN的目的在于分割局域网,最重要的目的在于能够阻挡广播和单薄流量不会被其他VLAN接收,有助于控制网络流量,减少设备投资,简化网络管理,提高网络安全性!!!
可以参考思科与3COM的VLAN配置学华为的,华为的交换机\路由器的配置与思科的差不多
答案补充
[ ]vlan 10
[ ]quit
[ ]int vlan 10
[ ]ip add 192.168.10.1 24
[ ]quit
[ ]vlan 20
[ ]quit
[ ]int vlan 20
[ ]ip add 192.168.20.1 24
[ ]quit
[ ]vlan 30
[ ]quit
[ ]int vlan 30
[ ]ip add 192.168.30.1 24
[ ]quit
[ ]vlan 40
[ ]quit
[ ]int vlan 40
[ ]ip add 192.168.40.1 24
[ ]quit
[ ]vlan 50
[ ]quit
[ ]int vlan 50
[ ]ip add 192.168.50.1 24
[ ]quit
[ ]int vlan 1
[ ]ip add 192.168.0.1 24
[ ]quit
[ ]vlan 2
[ ]port e1/0/6
[ ]quit
[ ]int vlan 2
[ ]ip add 172.16.0.2 30
[ ]rip version 2
[ ]rip work
[ ]quit
[ ]rip
[ ]undo summary
[ ]network 172.16.0.0
[ ]network 192.168.0.0
[ ]network 192.168.10.0
[ ] network 192.168.20.0
[ ] network 192.168.30.0
[ ] network 192.168.40.0
[ ] network 192.168.50.0
[ ]quit
[ ]ip route-static 0.0.0.0 0.0.0.0 172.16.0.1
[ ]int e1/0/1
[ ]port link-type trunk
[ ]port trunk permit vlan 10
[ ]quit
[ ]int e1/0/2
[ ]port link-type trunk
[ ]port trunk permit vlan 20
[ ]quit
[ ]int e1/0/3
[ ]port link-type trunk
[ ]port trunk permit vlan 30
[ ]quit
[ ]int e1/0/4
[ ]port link-type trunk
[ ]port trunk permit vlan 40
[ ]quit
[ ]int e1/0/5
[ ]port link-type trunk
[ ]port trunk permit vlan 50
[ ]quit
[ ]user-interface vty 0 4
[ ]authentication-mode password
[ ]set authentication pass ciper huawei
[ ]user privelege level 3
[ ]quit
[ ]quit
< >save
vlan 100相应端口
[H3C]dis int e1/0/24
ethernet 1/0/1代表一个1槽位0子板1号以太网口.
H3C 3600三层实例:
假设路由器内网IP:192.168.1.1/24
3600划分了两个VLAN:VLAN1:192.168.1.2/24 VLAN2:192.168.2.1/24
3600
int vlan 1
ip add 192.168.1.2 255.255.255.0
undo shut
vlan 2
int vlan 2
ip add 192.168.2.1 255.255.255.0
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
备注:忽略端口划分,
Gold GHD IV Styler
,路由器与交换机相连,在必须使用3600交换机的属于VLAN1端口与路由器相联。
vlan 1
vlan 2
int e1/0/1
port link-type trunk
port trunk permit vlan all
再把相应端口划分到相应的VLAN即可实现互通。
其他答案
你可以设置单臂路由,配置命令:
交换机:
在特权模式下
Switch#vlan database
Switch(vlan)#vlan 2 (因为有默认的vlan 1,
Cheap Ghd Straighteners
,直接设2和3,省得以后麻烦)
Switch(vlan)#vlan 3
Switch(vlan)#exit
Switch#config terminal
Switch(config)#interface fa0/1 (假设0/1是交换机与vlan 1里pc连接的接口)
Switch(config-if)#switchport accress vlan 1
......(在vlan 1里的接口都是这么设的)
Switch(config)#interface fa0/2 (假设0/2是交换机与vlan 2里pc连接的接口)
Switch(config-if)#switchport access vlan 2
......(在vlan 2里的接口也都是这么设)
Switch(config)#interface fa0/0 (假设接口0/0是与路由相接的接口)
Switch(config-if)#switchpore mode trunk
路由器:
Router(config)#interface fa0/0 (假设接口0/0是与交换机相接的接口)
Router(config-if)#no shutdown (把这个接口激活)
Router(config-if)#interface fa0/0.1 (设置子接口)
Router(config-if)#encapsolution dot1q vlan 2 (在接口上用802.1Q封装)
Router(config-if)#ip address 192.168.1.1 255.255.255.0 (举的例子,应该能看懂吧,前面是子接口的ip地址,后面是子网掩码,这个ip也就是vlan2里所有pc的网关)
Router(config-if)#no shutdown
后面同理
Router(config-if)#interface fa0/0.2
Router(config-if)#encapsolution dot1q vlan 3
Router(config-if)#ip address 192.168.2.1 255.255.255.0 (这个ip是vlan3里所有pc的网关)
Router(config-if)#no shutdown
然后就是给pc配置ip了,vlan2里pc的网关一定要设成192.168.1.1。vlan3里的pc的网关要设成192.168.2.1!
Switch(config)#interface fa0/0 (假设接口0/0是与路由相接的接口)
这里是否该加一句switchport trunk encapslution dot 1q
我认为不用加,因为在这里只需要接口与路由trunk一下就好了,不需要再用802.1q来封装了,
Purple Ghd IV Styler
。
The Court of Appeal pointed out that R and F's submission in the county court was of overt, conscious racism, and it was not prepared to find that there had been unconscious discrimination.The decisionThe Court of Appeal said that, unlike the ordinary civil claim where the judge decides, on the claimant's evidence only, whether the claimant has made out a case, in this case the judge had had the benefit of the whole of the evidence. Despite the school's failure to comply with the statutory requirements, the judge had been entitled to find on the basis of all the evidence that R and F had not proved racial discrimination.
burglar_alarm_system_manufacturer
fora.pl
- załóż własne forum dyskusyjne za darmo
Powered by
phpBB
© 2001, 2002 phpBB Group
Regulamin