-
Capture de paquets ARP :
gayant05# tcpdump -vvv -s 1024 -e -x arp &
gayant05# ping phinaert07 > /dev/null
16:18:33.356560 0:10:b5:7:34:a3 Broadcast arp 42:
arp who-has phinaert07.priv.eudil.fr tell gayant05
0001 0800 0604 0001 0010 b507 34a3 ac1a
118a 0000 0000 0000 ac1a 1166
- Liste de la table ARP :
gayant05# arp -a
router-students.priv.eudil.fr (172.26.16.1) at 00:D0:BC:BF:6C:38 [ether] on eth0
hainaut.priv.eudil.fr (172.26.16.2) at 00:60:08:71:B9:BE [ether] on eth0
phinaert07.priv.eudil.fr (172.26.17.102) at 00:10:B5:07:36:86 [ether] on eth0
- Découverte de voisins en IPv6 :
gayant05# cat /proc/net/dev_mcast
2 eth0 1 0 3333ff0734a3
2 eth0 1 0 333300000001
2 eth0 1 0 01005e000001
gayant05# tcpdump -vvv -s 1024 -e -x icmp6 &
gayant05# ping6 phinaert07 > /dev/null
11:22:09.746594 0:10:b5:7:34:a3 33:33:ff:7:36:86 ip6 86:
2001:660:4401:6004:210:b5ff:fe07:34a3 > ff02::1:ff07:3686:
icmp6: neighbor sol:
who has 2001:660:4401:6004:210:b5ff:fe07:3686
(src lladdr: 00:10:b5:07:34:a3) (len 32, hlim 255)
6000 0000 0020 3aff 2001 0660 4401 6004
0210 b5ff fe07 34a3 ff02 0000 0000 0000
0000 0001 ff07 3686 8700 ed30 0000 0000
2001 0660 4401 6004 0210 b5ff fe07 3686
0101 0010 b507 34a3
11:22:09.747305 0:10:b5:7:36:86 0:10:b5:7:34:a3 ip6 86:
2001:660:4401:6004:210:b5ff:fe07:3686
> 2001:660:4401:6004:210:b5ff:fe07:34a3:
icmp6: neighbor adv:
tgt is 2001:660:4401:6004:210:b5ff:fe07:3686(SO)(
tgt lladdr: 00:10:b5:07:36:86) (len 32, hlim 255)
6000 0000 0020 3aff 2001 0660 4401 6004
0210 b5ff fe07 3686 2001 0660 4401 6004
0210 b5ff fe07 34a3 8800 06db 6000 0000
2001 0660 4401 6004 0210 b5ff fe07 3686
0201 0010 b507 3686
- Configurations d'un LECS :
8540# show lane default-atm-addresses
interface ATM0:
LANE Client: 47.00918100000000D0BA265B01.00D0BA265B02.**
LANE Server: 47.00918100000000D0BA265B01.00D0BA265B03.**
LANE Bus: 47.00918100000000D0BA265B01.00D0BA265B04.**
LANE Config Server: 47.00918100000000D0BA265B01.00D0BA265B05.00
8540# show lane database EUDIL
LANE Config Server database table 'EUDIL' bound to interface/s: ATM0
no default elan
elan 'NETWORK': un-restricted, elan-id 201
server 47.00918100000000D0BA265B01.00D0BA265B03.01 (prio 0) active
elan 'SERVERS': un-restricted
server 47.00918100000000D0BA265B01.00D0BA265B03.02 (prio 0) active
elan 'STAFF': un-restricted
server 47.00918100000000D0BA265B01.00D0BA265B03.03 (prio 0) active
elan 'STUDENTS': un-restricted, elan-id 202
server 47.00918100000000D0BA265B01.00D0BA265B03.04 (prio 0) active
...
- Liste des LES et BUS :
8540# show lane server
LE Server ATM0.1, Elan name: NETWORK, Admin: up, State: operational
Master/Backup: Master, Type: ethernet, Max Frame Size: 1516
locally set elan-id: not set
elan-id obtained from LECS: 201
ATM address: 47.00918100000000D0BA265B01.00D0BA265B03.01
LECS used: 47.007900000000000000000000.00A03E000001.00 connected, vcd 517
control distribute: vcd 554, 12 members, 25685 packets
proxy/ (ST: Init, Conn, Waiting, Adding, Joined, Operational, Reject, Term)
lecid ST vcd pkts Hardware Addr ATM Address
1P O 78 167 0050.5460.ed90 47.00918100000000D0BA265B01.00505460ED90.01
2P O 131 390 00d0.58f5.445d 47.00918100000000D0BA265B01.00D058F5445D.01
3P O 141 378 00d0.58fb.5e1d 47.00918100000000D0BA265B01.00D058FB5E1D.01
4P O 170 393 00d0.58fb.621d 47.00918100000000D0BA265B01.00D058FB621D.01
5P O 209 660 00d0.58fb.60dd 47.00918100000000D0BA265B01.00D058FB60DD.01
6P O 357 377 00d0.58fb.6b5d 47.00918100000000D0BA265B01.00D058FB6B5D.01
7P O 442 19304 00d0.58f5.2b1d 47.00918100000000D0BA265B01.00D058F52B1D.01
8P O 464 431 00d0.58f5.3e5d 47.00918100000000D0BA265B01.00D058F53E5D.01
9P O 473 400 00d0.ba11.f59d 47.00918100000000D0BA265B01.00D0BA11F59D.01
10P O 488 1755 00d0.bcbf.6c38 47.00918100000000D0BA265B01.00D0BCBF6C38.01
11P O 787 1334 00d0.ba26.5b37 47.00918100000000D0BA265B01.00D0BA265B37.01
12P O 833 108 00d0.ba26.5b02 47.00918100000000D0BA265B01.00D0BA265B02.01
...
- Liste des LEC :
RG20-1# session 1
RG20-1# show lane client
LE Client ATM1.1 ELAN name: NETWORK Admin: up State: operational
Client ID: 5 LEC up for 11 hours 23 minutes 17 seconds
ELAN ID: 201
Join Attempt: 1326
Last Fail Reason: Fail to set up config VC
HW Address: 00d0.58fb.60dd Type: ethernet Max Frame Size: 1516 VLANID: 1
ATM Address: 47.00918100000000D0BA265B01.00D058FB60DD.01
VCD rxFrames txFrames Type ATM Address
0 0 0 configure 47.007900000000000000000000.00A03E000001.00
370 1 667 direct 47.00918100000000D0BA265B01.00D0BA265B03.01
384 25724 0 distribute 47.00918100000000D0BA265B01.00D0BA265B03.01
397 0 710 send 47.00918100000000D0BA265B01.00D0BA265B04.01
409 39459 0 forward 47.00918100000000D0BA265B01.00D0BA265B04.01
501 2 0 data 47.00918100000000D0BA265B01.00505460ED90.01
500 54 46 data 47.00918100000000D0BA265B01.00D0BCBF6C38.01
...
- Un peu de deverminage (LANE_ARP_REQ,LANE_ARP_RSP) :
7202# debug lane client all
pevele# tail -f /var/log/cisco