Omax Posted April 22, 2013 (edited) Народ подскажите пожалуйста можно ли через 1 сериал порт в Cisco пропустить несколько vlan ... Есть два объекта соединенные радиорелейками, на одной стороне с релейки сигнал подается в serial порт 36xx циски. Необходимо прогнать на другую сторону несколько вланов, но не понимаю как это сделать, ибо c serial интерфейсами столкнулся впервые... Edited April 22, 2013 by Omax Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
snark Posted April 22, 2013 bridge? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
rz3dwy Posted April 22, 2013 какой протокол на serial - FR или Eth? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 23, 2013 CISCO#show interfaces serial 4/0:1 Serial4/0:1 is up, line protocol is up Hardware is DSX1 Description: E1 to Office Internet address is 192.168.20.129/30 MTU 1500 bytes, BW 1984 Kbit, DLY 20000 usec, reliability 255/255, txload 69/255, rxload 44/255 Encapsulation PPP, loopback not set Keepalive set (10 sec) LCP Open Listen: CDPCP Open: IPCP Last input 00:00:25, output 00:00:00, output hang never Last clearing of "show interface" counters 11w0d Input queue: 0/75/4/0 (size/max/drops/flushes); Total output drops: 97031 Queueing strategy: weighted fair Output queue: 0/1000/64/97000 (size/max total/threshold/drops) Conversations 0/37/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 1488 kilobits/sec 5 minute input rate 345000 bits/sec, 145 packets/sec 5 minute output rate 543000 bits/sec, 165 packets/sec 81083985 packets input, 514491402 bytes, 0 no buffer Received 0 broadcasts, 2 runts, 0 giants, 0 throttles 4 input errors, 3 CRC, 1 frame, 0 overrun, 0 ignored, 1 abort 96397474 packets output, 3197481243 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 output buffer failures, 0 output buffers swapped out 5 carrier transitions Timeslot(s) Used:1-31, Transmitter delay is 0 flags CISCO# Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
sol Posted April 23, 2013 (edited) На серийнике протокол ППП посему, Общий Ответ - без перенастройки серийника никак. Только через энкапсуляцию Л2 в Л3. Вот Экзампель http://www.cisco.com...0801f66fa.shtml http://blog.ine.com/tag/xconnect/ Edited April 23, 2013 by sol Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 23, 2013 CISCO(config-if)#encapsulation ? atm-dxi ATM-DXI encapsulation bstun Block Serial tunneling (BSTUN) frame-relay Frame Relay networks hdlc Serial HDLC synchronous lapb LAPB (X.25 Level 2) ppp Point-to-Point protocol sdlc SDLC sdlc-primary SDLC (primary) sdlc-secondary SDLC (secondary) smds Switched Megabit Data Service (SMDS) stun Serial tunneling (STUN) x25 X.25 CISCO(config-if)#encapsulation Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
sol Posted April 23, 2013 Да, к стати, автор, дай-ка вывод encapsulation ? нам тут. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
shvlad1 Posted April 23, 2013 несколько frame-relay сабинтерфейсов, их поместить в бридж-группы с нужными dot1q сабинтерфейсами. или, если поддерживается - L2TPv3 Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 23, 2013 Например пытаюсь сделать следующее : interface serial 0/3/0.100 пишет cannot create sub-interface Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
zi_rus Posted April 24, 2013 если на интерфейсе уже включена encaps ppp, то естественно не даст, надо делать или fr, или hdlc Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
insekt Posted April 24, 2013 Если перенастройка возможна, то и с PPP можно все оставить - просто сделать бридж между интерфейсами (вместо IPCP поднимется BCP). Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
sio Posted April 24, 2013 Omax interface Serial0/3/0 encapsulation frame-relay IETF no frame-relay inverse-arp frame-relay lmi-type ansi frame-relay intf-type dce <- вот это ставится только с одной стороны ! interface Serial0/3/0.100 point-to-point frame-relay interface-dlci 100 IETF ! Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
zi_rus Posted April 24, 2013 Если перенастройка возможна, то и с PPP можно все оставить - просто сделать бридж между интерфейсами (вместо IPCP поднимется BCP). для bcp не нужны сабы, хотя в смысле изначальной проблемы, да, может помочь Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 25, 2013 (edited) CISCO1 interface Serial0/3/0 no ip address encapsulation frame-relay ietf frame-relay lmi-type ansi ! interface Serial0/3/0.16 point-to-point ip address 10.10.16.1 255.255.255.0 ! interface Serial0/3/0.100 point-to-point ip address 10.10.1.1 255.255.255.0 frame-relay interface-dlci 100 ! CISCO2 ! interface Serial0/3/0 no ip address encapsulation frame-relay ietf ! interface Serial0/3/0.16 point-to-point ip address 10.10.16.2 255.255.255.0 ! interface Serial0/3/0.100 point-to-point ip address 10.10.1.2 255.255.255.0 ! Между собой не пингуются Edited April 25, 2013 by Omax Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
NikAlexAn Posted April 25, 2013 Между собой не пингуются Внимательно посмотрите пост sio - определите чего у вас не хватает Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Telesis Posted April 25, 2013 (edited) CISCO1 interface Serial0/3/0 no ip address encapsulation frame-relay ietf frame-relay lmi-type ansi ! interface Serial0/3/0.16 point-to-point ip address 10.10.16.1 255.255.255.0 ! interface Serial0/3/0.100 point-to-point ip address 10.10.1.1 255.255.255.0 frame-relay interface-dlci 100 ! CISCO2 ! interface Serial0/3/0 no ip address encapsulation frame-relay ietf ! interface Serial0/3/0.16 point-to-point ip address 10.10.16.2 255.255.255.0 ! interface Serial0/3/0.100 point-to-point ip address 10.10.1.2 255.255.255.0 ! Между собой не пингуются На обоих Serial допишите. frame-relay lmi-type ansi frame-relay intf-type nni interface Serial0/3/0.16 point-to-point frame-relay interface-dlci 116 interface Serial0/3/0.100 point-to-point frame-relay interface-dlci 100 Edited April 25, 2013 by Telesis Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 25, 2013 ! interface Serial0/3/0 no ip address encapsulation frame-relay ietf frame-relay lmi-type ansi ! interface Serial0/3/0.16 point-to-point ip address 10.10.16.1 255.255.255.0 frame-relay interface-dlci 116 ! interface Serial0/3/0.100 point-to-point ip address 10.10.100.1 255.255.255.0 frame-relay interface-dlci 100 ! Даже себя не пингует, остальное прописать не получилось нет таких функций ниже вывод команды frame-relay ? Router(config-if)#frame-relay ? interface-dlci Define a DLCI on an interface/subinterface lmi-type Use CISCO-ANSI-CCITT type LMI map Map a protocol address to a DLCI address Router(config-if)#frame-relay Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
zi_rus Posted April 25, 2013 на самом деле все проще R5#sh run int Se0/0/1:0 Building configuration... Current configuration : 87 bytes ! interface Serial0/0/1:0 no ip address encapsulation frame-relay no keepalive end R5#sh run int Se0/0/1:0.1 Building configuration... Current configuration : 121 bytes ! interface Serial0/0/1:0.1 point-to-point ip address 192.168.1.5 255.255.255.0 frame-relay interface-dlci 100 end R9#sh run int Se0/0/1:0 Building configuration... Current configuration : 87 bytes ! interface Serial0/0/1:0 no ip address encapsulation frame-relay no keepalive end R9#sh run int Se0/0/1:0.1 Building configuration... Current configuration : 121 bytes ! interface Serial0/0/1:0.1 point-to-point ip address 192.168.1.9 255.255.255.0 frame-relay interface-dlci 100 end R5#ping 192.168.1.5 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms R5#ping 192.168.1.9 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.9, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
sio Posted April 25, 2013 Даже себя не пингует, остальное прописать не получилось нет таких функций ниже вывод команды frame-relay ? Router(config-if)#frame-relay ? interface-dlci Define a DLCI on an interface/subinterface lmi-type Use CISCO-ANSI-CCITT type LMI map Map a protocol address to a DLCI address Router(config-if)#frame-relay Я боюсь спрашивать про версию ios, ибо frame-relay intf-type [dce | dte | nni] Release 10.0 - This command was introduced. p.s. на сериальных интерфейсах cisco пингует себя через удалённую сторону, поэтому, пока канал не соберёшь, пинговать даже себя не сможешь. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
insekt Posted April 25, 2013 FR это все хорошо, но где тут решение задачи ТС? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
zi_rus Posted April 25, 2013 FR это все хорошо, но где тут решение задачи ТС? да мы тут так, общаемся на интересные темы на самом деле все было сказано в начале, поднять mpls на линке будет самое нормальное Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Omax Posted April 25, 2013 Ребят всем спасибо, все работает сделал по примеру zi_rus, все легко и просто) Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
sio Posted April 25, 2013 FR это все хорошо, но где тут решение задачи ТС? да мы тут так, общаемся на интересные темы на самом деле все было сказано в начале, поднять mpls на линке будет самое нормальное А mpls на 36-й серии лицензию не захочет? Ребят всем спасибо, все работает сделал по примеру zi_rus, все легко и просто) Молодец, только отключение keepalive не есть гуд для сериальных интерфейсов, хотя и не везде и не всегда. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
zi_rus Posted April 25, 2013 А mpls на 36-й серии лицензию не захочет? это детали, на сколько я знаю, лицензии начались в 15 иосе, на 12 все нормально, хотя лично я из софтовых роутеров только 28хх использовал Молодец, только отключение keepalive не есть гуд для сериальных интерфейсов, хотя и не везде и не всегда. no keepalive отключает lmi, как раз для случая когда с обоих концов оказываются DTE интерфейсы, но сами keepalive можно включить при необходимости используя map-class frame-relay Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
insekt Posted April 25, 2013 Ребят всем спасибо, все работает сделал по примеру zi_rus, все легко и просто) А можно глянуть полный итоговый конфиг с ВЛАНами и бриджом? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...