02-21-2020 06:48 AM
Hi,
I have topology like below and I want to my server be accessible from both router, But I don't have any Idea how to Set default gateway in my Server.
Solved! Go to Solution.
02-21-2020 07:11 AM - edited 02-21-2020 07:11 AM
Hello,
you could configure both routers with HSRP, if that is an option. The configs would look like below. A DHCP server has been configured on R2, so on the PC, just enable DHCP...
PT file is attached...
R1
hostname R1
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
standby 1 priority 110
standby 1 preempt
R2
hostname R2
!
ip dhcp excluded-address 192.168.1.1 192.168.1.3
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
interface FastEthernet0/0
ip address 192.168.1.3 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
02-21-2020 07:11 AM - edited 02-21-2020 07:11 AM
Hello,
you could configure both routers with HSRP, if that is an option. The configs would look like below. A DHCP server has been configured on R2, so on the PC, just enable DHCP...
PT file is attached...
R1
hostname R1
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
standby 1 priority 110
standby 1 preempt
R2
hostname R2
!
ip dhcp excluded-address 192.168.1.1 192.168.1.3
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
interface FastEthernet0/0
ip address 192.168.1.3 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
02-21-2020 12:35 PM - edited 02-21-2020 12:36 PM
Hello
If you wish for all 3 device just to be able to reach each other, Then give each device an ip address in the same subnet.
example:
rtr 1
int x/x
ip address 10.1.123.1 255.255.255.0
rtr2
int x/x
ip address 10.1.123.2 255.255.255.0
server
ip 10.1.123.3
subnet mask 255.255.255.0
02-21-2020 10:08 PM
The only possible way is to use the HSRP configuration as informed.
02-22-2020 02:43 AM
Hello,
on a real (non Packet Tracer) router, GLBP and VRRP would be options as well. Unfortunately, Packet Tracer only supports HSRP...
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