Kadet Posted February 7, 2007 Posted February 7, 2007 Помогите плз новичку побороть циску, при попытке конфигурирования yourname# yourname#conf t Enter configuration commands, one per line. End with CNTL/Z. yourname(config)#int fa0 yourname(config-if)#ip address 10.1.3.1 255.255.255.0 % IP addresses may not be configured on L2 links. модель циски 871, 4 порта ЛАН и 1 Влан yourname#show interface FastEthernet0 is up, line protocol is up Hardware is Fast Ethernet, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 3000 bits/sec, 4 packets/sec 5 minute output rate 0 bits/sec, 1 packets/sec 9919 packets input, 1024255 bytes, 0 no buffer Received 5769 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 1440 packets output, 112236 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out FastEthernet1 is up, line protocol is down Hardware is Fast Ethernet, address is 001a.a13b.4e1b (bia 001a.a13b.4e1b) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto-speed ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out FastEthernet2 is up, line protocol is down Hardware is Fast Ethernet, address is 001a.a13b.4e1c (bia 001a.a13b.4e1c) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto-speed ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out FastEthernet3 is up, line protocol is down Hardware is Fast Ethernet, address is 001a.a13b.4e1d (bia 001a.a13b.4e1d) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto-speed ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out FastEthernet4 is administratively down, line protocol is down Hardware is PQUICC_FEC, address is 001a.a13b.4e24 (bia 001a.a13b.4e24) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto Speed, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out Vlan1 is up, line protocol is up Hardware is EtherSVI, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a) Description: $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$ Internet address is 10.1.2.7/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 1000 bits/sec, 2 packets/sec 5 minute output rate 0 bits/sec, 1 packets/sec 7845 packets input, 824570 bytes, 0 no buffer Received 6445 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 1525 packets output, 112696 bytes, 0 underruns 0 output errors, 1 interface resets 0 output buffer failures, 0 output buffers swapped out Vlan2 is up, line protocol is down Hardware is EtherSVI, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a) Internet address is 10.1.9.9/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 2 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 packets output, 0 bytes, 0 underruns 0 output errors, 1 interface resets 0 output buffer failures, 0 output buffers swapped out Вставить ник Quote
UglyAdmin Posted February 7, 2007 Posted February 7, 2007 там не 4 порта LAN, там 4-х портовый коммутатор, на портах которого как раз и нельзя задать никаких IP. IP надо задавать на интерфейсах маршрутизатора... Вставить ник Quote
SergeiK Posted February 7, 2007 Posted February 7, 2007 У нее есть Web-интерфейс, который новичку поможет. Она умеет до 4-х вланов но этом коммутаторе, и может отдавать их как тегированными в один порт, там отдельный порт-отдельный влан. Но IP надо ставить на интерфейсе vlan1, в данном случае. Вставить ник Quote
Kadet Posted February 7, 2007 Author Posted February 7, 2007 а где почитать про это можно?? Вставить ник Quote
Kadet Posted February 7, 2007 Author Posted February 7, 2007 вопрос такой, помогите плз можно ли сделать так? yourname(config)#int fa0 yourname(config-if)#switchport access vlan 1 yourname(config)#int fa1 yourname(config-if)#switchport access vlan 2 и потом сделать маршрутизацию между вланами? когда я делаю yourname(config-if)#switchport access vlan 2 результат %Access VLAN 2 does not exist. Please add it to vlan database Вставить ник Quote
SergeiK Posted February 7, 2007 Posted February 7, 2007 Можно сделать маршрутизацию между вланами. Но не очень быстро. Очень быстро будет L3 свич. Сделать так: conf t int vlan 2 ip address xxx.xxx.xxx.xxx mmm.mmm.mmm.mmm int fas1 switchport access vlan 2 Прочитать про "это" можно в Интернете. Если интересует Cisco - то www.cisco.com Например по Вашему продукту - вот. http://www.cisco.com/en/US/products/hw/rou..._configure.html Вставить ник Quote
Kadet Posted February 7, 2007 Author Posted February 7, 2007 Можно сделать маршрутизацию между вланами. Но не очень быстро. Очень быстро будет L3 свич. Сделать так: conf t int vlan 2 ip address xxx.xxx.xxx.xxx mmm.mmm.mmm.mmm int fas1 switchport access vlan 2 Дык я так и делаю...не хотит добавляться >yourname#vlan database >yourname(vlan)#vlan 2 >Vlan can not be added. Maximum number of 1 vlan(s) in the >database. Вставить ник Quote
Nailer Posted February 7, 2007 Posted February 7, 2007 Можно сделать маршрутизацию между вланами. Но не очень быстро. Очень быстро будет L3 свич. Сделать так: conf t int vlan 2 ip address xxx.xxx.xxx.xxx mmm.mmm.mmm.mmm int fas1 switchport access vlan 2 Дык я так и делаю...не хотит добавляться >yourname#vlan database >yourname(vlan)#vlan 2 >Vlan can not be added. Maximum number of 1 vlan(s) in the >database. В advanced ip services, если не ошибаюсь, до 4-х. Вставить ник Quote
Kadet Posted February 8, 2007 Author Posted February 8, 2007 еще один вопрос есть этаже циска 871 как настроить НАТ, чтоб комп подключен в фа0 с сетью 192,168,0,0 видел компы в сети 10,1,2,0 на порту фа4? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.