Bonjour,
J'aimerai configurer un petit réseau comportant des VLANS. Pour ce faire, j'ai un routeur cisco 2600 ainsi qu'un switch cisco catalyst 3550.
J'utilise le port fastEthernet 0/1 du switch pour le trunk avec le port fastEthernet 0/0 du router.
J'aimerai obtenir une addresse ip dynamique lorsque je plug mon pc dans le switch. Malheureusement, sans succès
Voilà la config du routeur:
-------------------------------------router-------------------------------------
Current configuration : 1103 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
no network-clock-participate slot 1
no network-clock-participate wic 0
ip subnet-zero
ip cef
!
no ip dhcp use vrf connected
!
...
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation isl 100
ip address 10.10.10.1 255.255.255.0
no ip redirects
no snmp trap link-status
!
interface FastEthernet0/0.2
encapsulation isl 200
ip address 10.10.20.1 255.255.255.0
no ip redirects
no snmp trap link-status
...
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip classless
!
ip http server
no ip http secure-server
!
!
!
control-plane
!
!
!
voice-port 1/1/0
!
voice-port 1/1/1
-------------------------------------end router-------------------------------------
et voilà la configuration du switch:
-------------------------------------switch-------------------------------------
current configuration : 2458 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
vtp mode transparent
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan 2,61,100,200,300
!
interface FastEthernet0/1
switchport trunk encapsulation isl
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 100
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 100
switchport mode access
!
...
interface Vlan1
no ip address
shutdown
!
ip classless
ip http server
!
!
line con 0
line vty 5 15
!
-------------------------------------end switch-------------------------------------
Je suis persuadé qu'il s'agit d'une petite option à ajouter sur le routeur, mais malheureusement, je tourne en rond...
Merci pour votre aide!
Elpens
