cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1846
Views
5
Helpful
19
Replies

Can't do RIP/Static Routing with VLAN DHCP at the same time

g-navarro2807
Level 1
Level 1

Here is the topolgy the I am working on with specific requirement I have successfully used RIP on Networks 2.128  and 2.0  and Static on 0.0 . Al of the PC's are pingable with each other. But once I set up my vlan on network 0.0  thats allows port f0/24 to give a dhcp ip address from network 2.128 , I suddenly can't ping PCs from network 2.128  to other networks

I notice I can't ping anymore once I do this command

Berlin(config)#int gi0/1.1

Berlin(config-subif)#ip add 10.10.2.128 255.255.255.192 

The problem gets resolve when I remove the ip address on gi0/1.1.

Any ideas how to resolve this?image_2024-03-08_214137371.png

 

19 Replies 19

Hello,

post your (zipped) Packet Tracer project file...

Here you go. I already did 

Berlin(config)#int gi0/1.1

Berlin(config-subif)#ip add 10.10.2.128 255.255.255.192 

With this command you wont be able to ping PCs from network 10.10.2.128  to 10.10.0.0 and 10.10.2.0 but PCs from 10.10.0.0 and 10.10.2.0 can ping each other just fine

if you do

Berlin(config)#int gi0/1.1

Berlin(config-subif)#no ip add 10.10.2.128 255.255.255.192 

 

It would resolve the problem.

 

Martin L
VIP
VIP

2 routers have this IP 10.10.2.128 255.255.255.192 configured on interfaces; hence ur issues on network; Berlin does not need that IP and sub-interface dot1Q 100; 

also with RIP, make sure u use no auto-summary by default 

Regards, ML
**Please Rate All Helpful Responses **

But if I remove it from Berlin the laptop on the right side won't be able to get a DHCP address from the network 10.10.2.128. The goal of the topology is to give the laptop on the right side an dhcp ip from the network 10.10.2.128

are u sure about this requirement and/or goal? something is not right here.....

Yes those are the requirements given to me. Do note that this is a college activity

UPDATE:
I removed the ip address on Berlin int gi0/1 and instead created a new vlan 10 for the network 10.10.0.0 this what the new config looks likeimage_2024-03-09_172948945.png

 Now my problem is PCs from network 10.10.2.128 can't ping PCs from networks 10.10.0.0, 10.10.2.0, 10.10.2.128 (VLAN 100) . Here is the ip route of Italy Switchimage_2024-03-09_173412056.png

gnavarro2807_0-1709976878990.png

I think I have a routing problem and I don't know how to resolve it. Here is my updated packet tracer

NOTE: ItalySw1 (Rip) BerlinSw1(Rip) BerlinSw2(Static)

gnavarro2807_2-1709977035759.png

 

Hello,

your IP addressing does not seem to be correct. On the Berlin router you have a subinterface with the same address space as on the LAN interface of the Italy router.

Post the full requirements, so we can check what you are supposed to configure.

If you shut down GigabitEthernet0/1.100 (see revised file attached), you have connectivity.

Here are the requirements:

1. Dynramic Routing Protocol [RIP] / EIGRP and Static

2. DHCP | Exclued Ip Address

3. SVI on Switch Remote- SSH

4. Switchport Port Security

5. VLAN 100- ITSO [optional]

 

The goal is PCs from ItalySw1 must be configured as RIP routing and BerlinSw1 must also be configured as RIP routing while in BerlinSw2 it must be static. Also on BerlinSw2, the laptop is with the same organization as ItalySw1, so when the laptop request a DHCP, it must be given an ip address from the network 10.10.2.128

This is why GigabitEthernet0/1.100 has the ip address of 10.10.2.129 255.255.255.192 so that it can give the laptop in BerlinSw2 a DHCP address from network 10.10.2.128

I thought of an idea, can't I just use Italy as a DHCP server to cater BerlinSw2 port fa0/24 the ip from 10.10.2.128?

Issue is that 10.10.2.128/26 exists in 2 places separated by 10.10.2.192/30 over serial link; Usually ARP mapping will fail. Arp request for net X that is coming from the same net X is dropped by routers; check this before adding static routes. 

To fix yr network, remove any static routes u may have; add  on Italia

ip route 10.10.2.135 255.255.255.255 10.10.2.194

and add on Berlin

ip route 10.10.2.131 255.255.255.255 10.10.2.193
ip route 10.10.2.130 255.255.255.255 10.10.2.193

This would mean that DHCP pool must have reservation for Laptop on right to have 2.135 always and for every new PC on left u would need to add static route to reach laptop .135. on Berlin. 

 

Regards, ML
**Please Rate All Helpful Responses **

 

Is there a way to do tge ip routing in Italy in rip? The requirement is that PCs from ItalySw1 must communicate via rip while BerlinSw2 in static

NVM, it worked even with out the static route in Italy. But is there a way to not route every current/new PC on the left? Or just make Italy router as a DHCP pool server to relay on switch from Italy?