vlan – Query about subinterface DHCP relay CISCO

0
35
vlan – Query about subinterface DHCP relay CISCO


enter image description here

I wish to make 4 PC acquired DHCP IP handle
No downside with left facet, however proper facet 2 PC cannot get IP automaitic. I feel the issue is DHCP Relay.
How can I exploit ip helper-address for subinterface of R2?

s1

 interface FastEthernet0/1
   switchport mode trunk
 interface FastEthernet0/2
   switchport entry vlan 11
   switchport mode entry
 interface FastEthernet0/3
   switchport entry vlan 10
   switchport mode entry

s2

 interface FastEthernet0/1
   switchport mode trunk
 interface FastEthernet0/2
   switchport entry vlan 20
   switchport mode entry
 interface FastEthernet0/3
   switchport entry vlan 30
   switchport mode entry

R1-DHCP

1.Constructing configuration…

Present configuration : 1593 bytes
!
model 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ip dhcp pool Space-1
 community 192.168.11.0 255.255.255.0
 default-router 192.168.11.1
ip dhcp pool Space-2
 community 192.168.10.0 255.255.255.0
 default-router 192.168.10.1
ip dhcp pool Space-3
 community 192.168.20.0 255.255.255.0
 default-router 192.168.20.1
ip dhcp pool Space-4
 community 192.168.30.0 255.255.255.0
 default-router 192.168.30.1
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
 ip handle 190.168.50.1 255.255.255.0
 duplex auto
 velocity auto
!
interface GigabitEthernet0/0/0.20
 encapsulation dot1Q 20
 ip handle 192.168.20.1 255.255.255.0
!
interface GigabitEthernet0/0/0.30
 encapsulation dot1Q 30
 ip handle 192.168.30.1 255.255.255.0
!
interface GigabitEthernet0/0/1
 no ip handle
 duplex auto
 velocity auto
!
interface GigabitEthernet0/0/1.10
 encapsulation dot1Q 10
 ip handle 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0/1.11
 encapsulation dot1Q 11
 ip handle 192.168.11.1 255.255.255.0
!
interface GigabitEthernet0/0/2
 no ip handle
 duplex auto
 velocity auto
 shutdown
!
interface Vlan1
 no ip handle
 shutdown
!
router rip
 model 2
 community 192.168.20.0
 community 192.168.30.0
 community 192.168.50.0
 no auto-summary
!
ip classless
ip route 192.168.20.0 255.255.255.0 192.168.50.2 
ip route 192.168.30.0 255.255.255.0 192.168.50.2 
!
ip flow-export model 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
finish

R2

Constructing configuration...

Present configuration : 1151 bytes
!
model 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
 ip handle 192.168.50.2 255.255.255.0
 ip helper-address 192.168.50.1
 duplex auto
 velocity auto
!
interface GigabitEthernet0/0/1
 no ip handle
 duplex auto
 velocity auto
!
interface GigabitEthernet0/0/1.20
 encapsulation dot1Q 20
 ip handle 192.168.20.1 255.255.255.0
 ip helper-address 192.168.50.1
!
interface GigabitEthernet0/0/1.30
 encapsulation dot1Q 30
 ip handle 192.168.30.1 255.255.255.0
 ip helper-address 192.168.50.1
!
interface GigabitEthernet0/0/2
 no ip handle
 duplex auto
 velocity auto
 shutdown
!
interface Vlan1
 no ip handle
 shutdown
!
router rip
 model 2
 community 192.168.10.0
 community 192.168.11.0
 community 192.168.50.0
 no auto-summary
!
ip classless
ip route 192.168.10.0 255.255.255.0 192.168.50.1 
ip route 192.168.11.0 255.255.255.0 192.168.50.1 
!
ip flow-export model 9

LEAVE A REPLY

Please enter your comment!
Please enter your name here