cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1723
Views
10
Helpful
7
Replies

no connection between Switch to Router

AT5
Level 1
Level 1

Hi.  Can someone help me figure out how to make this connection?

 

A. Servers and PC can ping each other.

B. Servers and PC can not ping Router.

 

I have already tried turning on Vlan 1 int, with Ip and Ip default-gateway, same DG as my router..still fails

 

Any suggestions would be appreciated.

Thank yyou.

2 Accepted Solutions

Accepted Solutions

Hi again

I made a mistake here, the mask 255.255.255.224 gives network 172.16.10.0, 172.16.10.32, 172.16.10.64, 172.16.10.96 and so on.

But the problem, gateway and servers are no in the same network. You have to correct that.

/Mikael

View solution in original post

Hello,

 

I was working on the Packet Tracer file while @mlund has already provided the solution.

 

I might as well, since I already have it it, post the working PT file with the correct subnetting. I have saved this in PT version 8, so you need to have that version installed as well in order to open the attachment...

View solution in original post

7 Replies 7

Hello
post the cfg of the switch and rtr if applicable or may be the PT file


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

Hi.

This is the conf of Switch Office 3 and Router 3. I wish I can download PT but I dont know how.


OFFICE 3
SERVER(email) 172.16.10.94
SERVER(syslog/ntp) 172.16.10.93
ADMIN 172.16.10.92
SUBNET: 255.255.255.224
VLAN 1 172.16.10.91
DEFAULT GATEWAY: 172.16.10.1


S1-OFFICE3
Switch>
Switch>enable
Switch#conf t
Switch(config)#interface vlan 1
Switch(config-if)#ip address 172.16.10.91 255.255.255.224
Switch(config-if)#no shut
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#exit
Switch(config)#ip default-gateway 172.16.10.1
Switch(config)#exit
Switch#

 

**(Similar conf on the switch on the other side (office 2, except vlan address, same subnet mask) and it communicates.)

 

R3

GIG 0/0

Router(config-if)#interface gig 0/0
Router(config-if)#ip address 172.16.10.1 255.255.255.224
Router(config-if)#no shut
Router(config)#exit

 

SERIAL:

R3

Router(config)# int s0/0/0

Router(config)#ip address 172.16.10.90 255.255.255.224

Router(config)#no shut

Router(config)#exit

Router(config)# int s0/0/1

Router(config)# ip address 172.16.10.13 255.255.255.224

Router(config)#no shut

Router(config)#exit

 

OSPF

R3
Router>
Router>enable
Router#conf t
Router(config)#
Router(config)#router ospf 1
Router(config-router)#router-id 3.3.3.3
Router(config-router)#network 172.16.10.0 0.0.0.31 area 0
Router(config-router)#network 172.16.10.32 0.0.0.31 area 0
Router(config-router)#network 172.16.10.64 0.0.0.31 area 0
Router(config-router)#network 172.16.10.128 0.0.0.31 area 0
Router(config-router)#auto-cost reference-bandwidth 110
% OSPF: Reference bandwidth is changed.
Please ensure reference bandwidth is consistent across all routers.
Router(config-router)#

Router(config-router)#passive-interface gigabitethernet 0/0
Router(config-router)#passive-interface gigabitethernet 0/1
Router(config-router)#exit
Router(config)#

Hi

You are using 255.255.255.224 as subnet mask, that gives you network 172.16.10.0 hosts 1-62, 172.16.10.64 hosts 65-126, 172.16.10.128 hosts 129-190, 172.16.10.192 hosts 193-254

Your servers ip and the configured gateway is not in the same network.

Configure the routers g0/0 in the range 172.16.10.65-126, and set the default gateway on the servers to that address.

/Mikael

Hi again

I made a mistake here, the mask 255.255.255.224 gives network 172.16.10.0, 172.16.10.32, 172.16.10.64, 172.16.10.96 and so on.

But the problem, gateway and servers are no in the same network. You have to correct that.

/Mikael

Thank you very much!!!!!

Hello,

 

I was working on the Packet Tracer file while @mlund has already provided the solution.

 

I might as well, since I already have it it, post the working PT file with the correct subnetting. I have saved this in PT version 8, so you need to have that version installed as well in order to open the attachment...

Thank you. Really appreciate!