-
Exemple des classes d’adresses pour l’EUDIL :
pevele# sed 's/^[^:]*:[^:]*:\([^:]*\):.*$/\1/' /register/network/vlans
172.26.224.0/255.255.240.0
193.48.57.32/255.255.255.224
193.48.64.0/255.255.255.0
172.26.16.0/255.255.240.0
193.48.68.0/255.255.255.128
172.26.64.0/255.255.240.0
172.26.32.0/255.255.240.0
172.26.48.0/255.255.240.0
193.48.57.192/255.255.255.224
193.48.65.0/255.255.255.0
193.48.57.224/255.255.255.224
193.48.57.160/255.255.255.224
172.26.80.0/255.255.255.224
- Exemple de la table de routage du routeur IPv4 de l’école :
7202# show ip route connected
172.26.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.26.224.0/20 is directly connected, ATM2/0.1
C 172.26.48.0/20 is directly connected, ATM2/0.8
C 172.26.32.0/20 is directly connected, ATM2/0.7
C 172.26.16.0/20 is directly connected, ATM2/0.4
C 172.26.80.0/27 is directly connected, ATM2/0.13
C 172.26.64.0/20 is directly connected, ATM2/0.6
193.48.57.0/27 is subnetted, 4 subnets
C 193.48.57.192 is directly connected, ATM2/0.9
C 193.48.57.224 is directly connected, ATM2/0.11
C 193.48.57.160 is directly connected, ATM2/0.12
C 193.48.57.32 is directly connected, ATM2/0.2
C 193.48.65.0/24 is directly connected, ATM2/0.10
C 193.48.64.0/24 is directly connected, ATM2/0.3
193.48.68.0/25 is subnetted, 1 subnets
C 193.48.68.0 is directly connected, ATM2/0.5
C 192.168.1.0/24 is directly connected, ATM2/0.101
C 192.168.2.0/24 is directly connected, ATM2/0.102
C 134.206.0.0/16 is directly connected, FastEthernet1/0
C 192.168.3.0/24 is directly connected, ATM2/0.103
7202# show ip route rip
R 192.168.166.0/24 [120/1] via 172.26.33.63, 00:00:05, ATM2/0.7
R 195.83.194.0/24 [120/2] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 192.168.91.0/24 [120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 193.49.225.0/24 [120/1] via 134.206.3.2, 00:00:08, FastEthernet1/0
[120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 192.168.61.0/24 [120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 192.168.60.0/24 [120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 192.168.247.0/24 [120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
R 192.168.246.0/24 [120/1] via 134.206.3.1, 00:00:04, FastEthernet1/0
...
7202# show ip route static
S* 0.0.0.0/0 [1/0] via 134.206.3.2
- Exemple de la table de routage du routeur IPv6 de l’école :
3640# sh ipv6 route
IPv6 Routing Table - 19 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
L 2001:660:3000:1104:140::/128 [0/0] via ::, Tunnel0
C 2001:660:3000:1104::/64 [0/0] via ::, Tunnel0
L 2001:660:4401:6002:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.2
C 2001:660:4401:6002::/64 [0/0] via ::, FastEthernet3/0.2
L 2001:660:4401:6003:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.3
C 2001:660:4401:6003::/64 [0/0] via ::, FastEthernet3/0.3
L 2001:660:4401:6004:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.4
C 2001:660:4401:6004::/64 [0/0] via ::, FastEthernet3/0.4
L 2001:660:4401:6007:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.7
C 2001:660:4401:6007::/64 [0/0] via ::, FastEthernet3/0.7
L 2001:660:4401:6009:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.9
C 2001:660:4401:6009::/64 [0/0] via ::, FastEthernet3/0.9
L 2001:660:4401:6011:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.11
C 2001:660:4401:6011::/64 [0/0] via ::, FastEthernet3/0.11
L 2001:660:4401:6012:2D0:58FF:FEF3:4B10/128 [0/0] via ::, FastEthernet3/0.12
C 2001:660:4401:6012::/64 [0/0] via ::, FastEthernet3/0.12
L FE80::/10 [0/0] via ::, Null0
L FF00::/8 [0/0] via ::, Null0
S ::/0 [1/0] via ::, Tunnel0
3640# show running-config interface FastEthernet3/0.2
Building configuration...
Current configuration : 237 bytes
!
interface FastEthernet3/0.2
encapsulation dot1Q 2
ip address 193.48.57.62 255.255.255.224
ipv6 address 2001:660:4401:6002::/64 eui-64
ipv6 enable
ipv6 nd prefix 2001:660:4401:6002::/64
ipv6 rip TO enable
ipv6 rip T0 enable
end
3640# show running-config interface Tunnel0
Building configuration...
Current configuration : 203 bytes
!
interface Tunnel0
no ip address
ipv6 address 2001:660:3000:1104:140::/64
ipv6 enable
ipv6 rip T0 enable
tunnel source FastEthernet3/0.2
tunnel destination 193.51.178.140
tunnel mode ipv6ip
end
- Exemple de la table de routage d’artois :
artois# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
193.48.57.32 0.0.0.0 255.255.255.224 U 0 0 0 vlan2
172.26.16.0 0.0.0.0 255.255.240.0 U 0 0 0 vlan4
0.0.0.0 193.48.57.33 0.0.0.0 UG 0 0 0 vlan2
artois# netstat -r -A inet6
Kernel IPv6 routing table
Destination Next Hop Flags Metric Ref Use Iface
::1/128 :: U 0 118472 4 lo
fe80::20b:dbff:fe5c:982c/128 :: U 0 7196 0 lo
2001:660:4401:6002:20b:dbff:fe5c:982c/128 :: U 0 161399 0 lo
ff00::/8 :: UA 256 0 0 vlan2
fe80::/64 :: UA 256 0 0 vlan2
2001:660:4401:6002::/64 :: UA 256 4168 0 vlan2
::/0 fe80::2d0:58ff:fef3:4b10 UGDA 1024 293 0 vlan2
ff00::/8 :: UA 256 0 0 vlan4
fe80::/64 :: UA 256 0 0 vlan4
2001:660:4401:6004::/64 :: UA 256 14549 0 vlan4
::/0 fe80::2d0:58ff:fef3:4b10 UGDA 1024 4353 0 vlan4
ff00::/8 :: UA 256 0 0 eth0
fe80::/64 :: UA 256 0 0 eth0
- Exemple de la table de routage d’une machine avec vmware :
avalon# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
193.48.64.0 * 255.255.255.0 U 0 0 0 eth0
192.168.230.0 * 255.255.255.0 U 0 0 0 vmnet1
default * 0.0.0.0 U 0 0 0 eth0