12-12-2019 11:46 AM
I tryed to distribute DHCP address with the server1 but pc1 and pc2 are not in the same vlan than pc0 could someone help me plz...
R1:
Current configuration : 1240 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.2 255.255.255.0
ip helper-address 192.168.10.1
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.2 255.255.255.0
ip helper-address 192.168.10.1
ip helper-address 192.168.20.1
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 192.168.30.2 255.255.255.0
ip helper-address 192.168.10.1
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.252
clock rate 128000
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
passive-interface FastEthernet0/0
network 192.168.10.0
network 192.168.20.0
network 192.168.30.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
SW8:
Current configuration : 1564 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
switchport access vlan 20
switchport mode access
!
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
!
interface FastEthernet0/24
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0060.3ed1.1601
no ip address
ip helper-address 192.168.10.1
!
interface Vlan20
mac-address 0060.3ed1.1602
no ip address
ip helper-address 192.168.10.1
!
interface Vlan30
mac-address 0060.3ed1.1603
no ip address
ip helper-address 192.168.10.1
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
!
end
Server1:
Solved! Go to Solution.
12-12-2019 12:58 PM - edited 12-12-2019 01:00 PM
Try this changes.
The gateway IP must match the IP configured in the subinterfaces:
In the DHCP pool change the default gateway:
For vlan 10:
192.168.10.2
For vlan 20:
192.168.20.2
For vlan 30:
192.168.30.2
Regards
PD: If you want to attach the PKT, you must first compress it (winzip) and then attach it :)
12-12-2019 12:58 PM - edited 12-12-2019 01:00 PM
Try this changes.
The gateway IP must match the IP configured in the subinterfaces:
In the DHCP pool change the default gateway:
For vlan 10:
192.168.10.2
For vlan 20:
192.168.20.2
For vlan 30:
192.168.30.2
Regards
PD: If you want to attach the PKT, you must first compress it (winzip) and then attach it :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide