OSPF:
Bon ces derniers jours, j'ai joué avec OSPF.
C'est bien marrant pour éviter de se taper un paquets de routes statiques et
rendre redondant vos liens (si physiquement ils le sont ;) ).
Voici ce que cela peut donner (c'est très rapide comme amusement):
- Test1 OSPF sur Flexrouter - ================================================= - Christophe LucasSi vous désirez en savoir un peu plus sur OSPF, je vous recommande ces liens:- $Id: test1.txt,v 1.4 2007/05/11 09:16:01 clucas Exp clucas $ 1. Architecture ================ [ A ] <===========> [ B ] 2. Machines ============ 2.1 Machine A ~~~~~~~~~~~~ nas-default # ip addr 1: eth0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:40:63:ec:5a:b0 brd ff:ff:ff:ff:ff:ff inet 192.168.1.250/24 brd 192.168.1.255 scope global eth0 2: eth1: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:40:63:ec:5a:af brd ff:ff:ff:ff:ff:ff inet 192.168.10.1/24 brd 192.168.10.255 scope global eth1 inet 192.168.20.1/24 brd 192.168.20.255 scope global eth1 3: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo nas-default # ip route 192.168.20.0/24 dev eth1 proto kernel scope link src 192.168.20.1 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.250 192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.1 224.0.0.0/4 dev eth0 scope link default via 192.168.1.1 dev eth0 nas-default # cat /usr/local/etc/zebra.conf hostname default password 1234 enable password 1234 ! interface eth0 ip address 192.168.1.250/24 multicast no shutdown ! interface eth1 ip address 192.168.10.1/24 ip address 192.168.20.1/24 no shutdown hostname default password 1234 enable password 1234 log file /var/log/ospfd.log ! router ospf network 192.168.1.0/24 area 0 network 192.168.10.0/24 area 1 network 192.168.20.0/24 area 1 ! line vty ! User Access Verification Password: default> ena Password: default# sh ip os default# sh ip ospf route ============ OSPF network routing table ============ N 192.168.1.0/24 [10] area: 0.0.0.0 directly attached to eth0 N 192.168.10.0/24 [10] area: 0.0.0.1 directly attached to eth1 N 192.168.20.0/24 [10] area: 0.0.0.1 directly attached to eth1 ============ OSPF router routing table ============= R 192.168.32.242 [10] area: 0.0.0.0, ASBR via 192.168.1.200, eth0 ============ OSPF external routing table =========== default# sh ip ospf bo default# sh ip ospf border-routers ============ OSPF router routing table ============= R 192.168.32.242 [10] area: 0.0.0.0, ASBR via 192.168.1.200, eth0 default# default# sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 192.168.32.242 1 Full/Backup 00:00:39 192.168.1.200 eth0:192.168.1.250 0 0 0 default# 2.2 Machine B ~~~~~~~~~~~ s-labo # ip addr 1: eth0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:40:63:e8:75:46 brd ff:ff:ff:ff:ff:ff inet 192.168.1.200/24 brd 192.168.1.255 scope global eth0 2: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 3: eth1: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:50:fc:5f:ca:3f brd ff:ff:ff:ff:ff:ff inet 192.168.5.1/24 scope global eth1 4: gre0: mtu 1476 qdisc noop link/gre 0.0.0.0 brd 0.0.0.0 5: infosat@NONE: mtu 1476 qdisc noqueue link/gre 217.169.242.200 peer 217.169.242.129 inet 192.168.32.242/30 brd 192.168.32.243 scope global infosat nas-labo # ip route 192.168.32.240/30 dev infosat proto kernel scope link src 192.168.32.242 192.168.5.0/24 dev eth1 proto kernel scope link src 192.168.5.1 192.168.20.0/24 via 192.168.1.250 dev eth0 proto zebra metric 20 equalize 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.200 192.168.10.0/24 via 192.168.1.250 dev eth0 proto zebra metric 20 equalize default via 192.168.1.1 dev eth0 nas-labo # cat /usr/local/etc/zebra.conf hostname labo password 1234 enable password 1234 ! interface eth0 ip address 192.168.1.200/24 multicast no shutdown ! interface eth1 ip address 192.168.5.1/24 no shutdown ! line vty ! nas-labo # cat /usr/local/etc/ospfd.conf hostname labo password 1234 enable password 1234 log file /var/log/ospfd.log ! router ospf network 192.168.1.0/24 area 0 network 192.168.5.0/25 area 2 redistribute static line vty ! User Access Verification Password: labo> ena Password: labo# sh ip os labo# sh ip ospf route ============ OSPF network routing table ============ N 192.168.1.0/24 [10] area: 0.0.0.0 directly attached to eth0 N IA 192.168.10.0/24 [20] area: 0.0.0.0 via 192.168.1.250, eth0 N IA 192.168.20.0/24 [20] area: 0.0.0.0 via 192.168.1.250, eth0 ============ OSPF router routing table ============= R 192.168.20.1 [10] area: 0.0.0.0, ABR via 192.168.1.250, eth0 ============ OSPF external routing table =========== labo# sh ip ospf ne labo# sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 192.168.20.1 1 Full/DR 00:00:40 192.168.1.250 eth0:192.168.1.200 0 0 0 labo# sh ip ospf border-routers ============ OSPF router routing table ============= R 192.168.20.1 [10] area: 0.0.0.0, ABR via 192.168.1.250, eth0
Le père Noyel est passé :
Arrivée d'un nouveau joujou :
Router>sh version Cisco Internetwork Operating System Software IOS (tm) 7200 Software (C7200-IS-M), Version 12.3(15b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Thu 25-Aug-05 19:08 by ssearch Image text-base: 0x60008AF4, data-base: 0x61CB8000 ROM: System Bootstrap, Version 12.0(19990210:195103) [12.0XE 105], DEVELOPMENT E BOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.3(15b), RELEASE SOFTWARE (fc) Router uptime is 4 minutes System returned to ROM by reload at 10:04:19 UTC Fri May 11 2007 System image file is "disk0:c7200-is-mz.123-15b.bin" Last reload reason: Reload command cisco 7204VXR (NPE300) processor (revision D) with 122880K/40960K bytes of memo. Processor board ID 30928714 R7000 CPU at 262MHz, Implementation 39, Rev 2.1, 256KB L2 Cache 4 slot VXR midplane, Version 2.7 Last reset from power-on Bridging software. X.25 software, Version 3.0.0. PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points. Current configuration on bus mb0_mb1 has a total of 700 bandwidth points. The set of PA-2FE, PA-POS-2OC3, and I/O-2FE qualify for "half bandwidth points" consideration, when full bandwidth point counting results in oversubscription, under the condition that only one of the two ports is used. With this adjustment, current configuration on bus mb0_mb1 has a total of 700 bandwidth points. This configuration has oversubscripted the PCI bus and is not a supported configuration. PCI bus mb2 (Slots 2, 4, 6) has a capacity of 600 bandwidth points. Current configuration on bus mb2 has a total of 200 bandwidth points This configuration is within the PCI bus capacity and is supported. Please refer to the following document "Cisco 7200 Series Port Adaptor Hardware Configuration Guidelines" on CCOMiam c'est beau c'est jouet! Qu'il est gentil le père Noyel !, for c7200 bandwidth points oversubscription/usage guidelines. WARNING: PCI bus mb0_mb1 Exceeds 600 bandwidth points 1 Ethernet/IEEE 802.3 interface(s) 1 FastEthernet/IEEE 802.3 interface(s) 1 Gigabit Ethernet/IEEE 802.3 interface(s) 1 ATM network interface(s) 125K bytes of non-volatile configuration memory. 46976K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes). 8192K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2102
Warriors of the net : ou comment que ca marche TCP/IP
!?!:
Pour ceux qui préfèrent un dessin qu'un long discours, je vous recommande le
visionnage de cette vidéo explicitant comment marche TCP/IP.
Celle-ci provient de :
=>http://www.warriorsofthe.net/
Vous pourrez télécharger la vidéo sur leur site ou ICI
(en français) !
OpenSource: Driver libre pour le chip graphique 965GM Express
Un driver graphique du chip 965M Express d'Intel a été annoncé ce jour. Vous
pourrez retrouvé plus d'information sur : http://intellinuxgraphics.org/