Bonjour tout le monde,
voilà la description de mon problème, j'utilise un routeur cisco 2611XM comme routeur DHCP. Celui-ci est connecté vers un switch, ce switch est ensuite connecté dans divers salles du bâtiment vers d'autres switch. Chaque salle se trouve dans une Vlan différente. J'arrive à me connecter à distance au second switch (celui se trouvant dans les salles) via telnet, mais les PC's que je connectes à ces switch dans les salles ne reçoivent aucunes adresses de mon routeur dhcp...
voilà un schéma représentant mon réseau:
Et voici les configurations des appareils,
le routeur:
le premier switch:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 R_Intern_A10_1#wr t Building configuration... Current configuration : 4623 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R_Intern_A10_1 ! ! memory-size iomem 15 ip subnet-zero ip cef ! ! ip dhcp excluded-address 10.10.0.9 ip dhcp excluded-address 10.10.0.10 ip dhcp excluded-address 10.10.41.1 ip dhcp excluded-address 10.10.42.1 ip dhcp excluded-address 10.10.43.1 ip dhcp excluded-address 10.10.44.1 ip dhcp excluded-address 10.10.45.1 ip dhcp excluded-address 10.10.41.2 ip dhcp excluded-address 10.10.42.2 ip dhcp excluded-address 10.10.43.2 ip dhcp excluded-address 10.10.44.2 ip dhcp excluded-address 10.10.45.2 ip dhcp excluded-address 10.10.41.3 ip dhcp excluded-address 10.10.42.3 ip dhcp excluded-address 10.10.43.3 ip dhcp excluded-address 10.10.44.3 ip dhcp excluded-address 10.10.45.3 ! ip dhcp pool salleA41 network 10.10.41.0 255.255.255.0 default-router 10.10.41.1 dns-server 195.186.1.162 195.186.4.162 ! ip dhcp pool salleA42 network 10.10.42.0 255.255.255.0 default-router 10.10.42.1 dns-server 195.186.1.162 195.186.4.162 ! ip dhcp pool salleA43 network 10.10.43.0 255.255.255.0 default-router 10.10.43.1 dns-server 195.186.1.162 195.186.4.162 ! ip dhcp pool salleA44 network 10.10.44.0 255.255.255.0 default-router 10.10.44.1 dns-server 195.186.1.162 195.186.4.162 ! ip dhcp pool salleA45 network 10.10.45.0 255.255.255.0 default-router 10.10.45.1 dns-server 195.186.1.162 195.186.4.162 ! ! call rsvp-sync ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 10.10.0.2 255.255.255.248 speed 100 half-duplex ! interface FastEthernet0/1 ip address 10.10.0.17 255.255.255.240 duplex auto speed auto ! interface FastEthernet0/1.41 encapsulation dot1Q 41 ip address 10.10.41.1 255.255.255.0 ip access-group 141 in ! interface FastEthernet0/1.42 encapsulation dot1Q 42 ip address 10.10.42.1 255.255.255.0 ip access-group 142 in ! interface FastEthernet0/1.43 encapsulation dot1Q 43 ip address 10.10.43.1 255.255.255.0 ip access-group 143 in ! interface FastEthernet0/1.44 encapsulation dot1Q 44 ip address 10.10.44.1 255.255.255.0 ip access-group 144 in ! interface FastEthernet0/1.45 encapsulation dot1Q 45 ip address 10.10.45.1 255.255.255.0 ip access-group 145 in ! router ospf 1 log-adjacency-changes network 10.10.0.0 0.0.0.7 area 10 network 10.10.0.16 0.0.0.15 area 10 network 10.10.41.0 0.0.0.255 area 10 network 10.10.42.0 0.0.0.255 area 10 network 10.10.43.0 0.0.0.255 area 10 network 10.10.44.0 0.0.0.255 area 10 network 10.10.45.0 0.0.0.255 area 10 ! ip classless ip http server ! access-list 141 permit udp any eq bootpc any eq bootps access-list 141 deny ip 10.10.41.0 0.0.0.255 10.10.42.0 0.0.0.255 access-list 141 deny ip 10.10.41.0 0.0.0.255 10.10.43.0 0.0.0.255 access-list 141 deny ip 10.10.41.0 0.0.0.255 10.10.44.0 0.0.0.255 access-list 141 deny ip 10.10.41.0 0.0.0.255 10.10.45.0 0.0.0.255 access-list 141 permit ip 10.10.41.0 0.0.0.255 any access-list 142 permit udp any eq bootpc any eq bootps access-list 142 deny ip 10.10.42.0 0.0.0.255 10.10.41.0 0.0.0.255 access-list 142 deny ip 10.10.42.0 0.0.0.255 10.10.43.0 0.0.0.255 access-list 142 deny ip 10.10.42.0 0.0.0.255 10.10.44.0 0.0.0.255 access-list 142 deny ip 10.10.42.0 0.0.0.255 10.10.45.0 0.0.0.255 access-list 142 permit ip 10.10.42.0 0.0.0.255 any access-list 143 permit udp any eq bootpc any eq bootps access-list 143 deny ip 10.10.43.0 0.0.0.255 10.10.41.0 0.0.0.255 access-list 143 deny ip 10.10.43.0 0.0.0.255 10.10.42.0 0.0.0.255 access-list 143 deny ip 10.10.43.0 0.0.0.255 10.10.44.0 0.0.0.255 access-list 143 deny ip 10.10.43.0 0.0.0.255 10.10.45.0 0.0.0.255 access-list 143 permit ip 10.10.43.0 0.0.0.255 any access-list 144 permit udp any eq bootpc any eq bootps access-list 144 deny ip 10.10.44.0 0.0.0.255 10.10.41.0 0.0.0.255 access-list 144 deny ip 10.10.44.0 0.0.0.255 10.10.42.0 0.0.0.255 access-list 144 deny ip 10.10.44.0 0.0.0.255 10.10.43.0 0.0.0.255 access-list 144 deny ip 10.10.44.0 0.0.0.255 10.10.45.0 0.0.0.255 access-list 144 permit ip 10.10.44.0 0.0.0.255 any access-list 145 permit udp any eq bootpc any eq bootps access-list 145 deny ip 10.10.45.0 0.0.0.255 10.10.41.0 0.0.0.255 access-list 145 deny ip 10.10.45.0 0.0.0.255 10.10.42.0 0.0.0.255 access-list 145 deny ip 10.10.45.0 0.0.0.255 10.10.43.0 0.0.0.255 access-list 145 deny ip 10.10.45.0 0.0.0.255 10.10.44.0 0.0.0.255 access-list 145 permit ip 10.10.45.0 0.0.0.255 any ! dial-peer cor custom ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password BeaPanda42 login ! end R_Intern_A10_1#
Le deuxième switch:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125 Sw_Base_A10#wr t Building configuration... Current configuration : 1782 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Sw_Base_A10 ! enable password emf123 ! ip subnet-zero ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 switchport mode trunk ! interface FastEthernet0/3 switchport mode trunk ! interface FastEthernet0/4 switchport mode trunk ! interface FastEthernet0/5 ! interface FastEthernet0/6 switchport mode trunk ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 switchport mode trunk ! interface FastEthernet0/24 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 ip address 10.10.0.18 255.255.255.240 no ip route-cache ! interface Vlan41 ip address 10.10.41.2 255.255.255.0 no ip route-cache shutdown ! interface Vlan42 ip address 10.10.42.2 255.255.255.0 no ip route-cache shutdown ! interface Vlan43 ip address 10.10.43.2 255.255.255.0 no ip route-cache shutdown ! interface Vlan44 ip address 10.10.44.2 255.255.255.0 no ip route-cache shutdown ! interface Vlan45 ip address 10.10.45.2 255.255.255.0 no ip route-cache shutdown ! ip http server ! line con 0 line vty 0 4 password emf123 login line vty 5 15 login ! ! end Sw_Base_A10#
Je précise que même si je fixe l'adresse manuellement au PC celui-ci ne peut pas se connecter au réseau... par contre je peux ping internet depuis le second switch...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144 S_ENet_AR10_A41#wr t Building configuration... Current configuration : 2495 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname S_ENet_AR10_A41 ! enable password emf123 ! ip subnet-zero ! ip ssh time-out 120 ip ssh authentication-retries 3 ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 switchport access vlan 41 switchport mode access ! interface FastEthernet0/4 switchport access vlan 41 switchport mode access ! interface FastEthernet0/5 switchport access vlan 41 switchport mode access ! interface FastEthernet0/6 switchport access vlan 41 switchport mode access ! interface FastEthernet0/7 switchport access vlan 41 switchport mode access ! interface FastEthernet0/8 switchport access vlan 41 switchport mode access ! interface FastEthernet0/9 switchport access vlan 41 switchport mode access ! interface FastEthernet0/10 switchport access vlan 41 switchport mode access ! interface FastEthernet0/11 switchport access vlan 41 switchport mode access ! interface FastEthernet0/12 switchport access vlan 41 switchport mode access ! interface FastEthernet0/13 switchport access vlan 41 switchport mode access ! interface FastEthernet0/14 switchport access vlan 41 switchport mode access ! interface FastEthernet0/15 switchport access vlan 41 switchport mode access ! interface FastEthernet0/16 switchport access vlan 41 switchport mode access ! interface FastEthernet0/17 switchport access vlan 41 switchport mode access ! interface FastEthernet0/18 switchport access vlan 41 switchport mode access ! interface FastEthernet0/19 switchport access vlan 41 switchport mode access ! interface FastEthernet0/20 switchport access vlan 41 switchport mode access ! interface FastEthernet0/21 switchport access vlan 41 switchport mode access ! interface FastEthernet0/22 switchport access vlan 41 switchport mode access ! interface FastEthernet0/23 switchport access vlan 41 switchport mode access ! interface FastEthernet0/24 switchport access vlan 41 switchport mode access ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 ip address 10.10.0.21 255.255.255.240 no ip route-cache ! interface Vlan41 ip address 10.10.41.3 255.255.255.0 no ip route-cache ! ip http server ! line con 0 line vty 0 4 password emf123 login line vty 5 15 login ! ! end S_ENet_AR10_A41#
En tout cas merci si vous trouvez la solution à mon problème!!
Partager