cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1419
Views
0
Helpful
4
Replies

Connect Server to Two Router

pm1375pm78722
Level 1
Level 1

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.

Annotation 2020-02-21 181558.png

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

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

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

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

The only possible way is to use the HSRP configuration as informed. 

Please do not hesitate to click the STAR button if you are satisfied with my answer.

Hello,

 

on a real (non Packet Tracer) router, GLBP and VRRP would be options as well. Unfortunately, Packet Tracer only supports HSRP...

Review Cisco Networking for a $25 gift card