cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
858
Views
0
Helpful
2
Replies

configurating serial interface

dexjjang
Level 1
Level 1

Hi,

I need help on how to configure serial interface.

My company uses model# 1601.

The current configuration is showing:

!

interface Serial1

ip address 192.168.15.246 255.255.255.252

no ip directed-broadcast

!

ip classless

ip route 149.142.10.10 255.255.255.255 192.168.15.245

ip route 149.142.155.0 255.255.255.0 192.168.15.245

ip route 149.142.168.0 255.255.255.0 192.168.15.245

My problem is I'd like to get connected to remote server with IP# 149.142.248.17, but I don't know how.

Please help.

2 Replies 2

svermill
Level 4
Level 4

I don’t think you need to worry about your serial interface.

It looks as though you are using static routes only so, assuming that subnet 149.142.248.0 is reachable via 192.168.15.245, just add the

ip route 149.142.248.0 255.255.255.0 192.168.15.245

command in ‘global config’ mode. If 255.255.255.0 is not the subnet mask of the subnet on which your server resides, use the appropriate mask or just 255.255.255.255 to statically map the host (as is the case with your 149.142.10.10 host).

Conversely, I think you could replace all of your static routes to a single

Ip route 149.142.0.0 255.255.0.0 192.168.15.245

statement. I think the only reason you wouldn’t want to do that is if there are other 149.142 subnets via another next hop than 192.168.15.245.

Good luck and let me know if this works out please (I hate it when I give bad advice).

mark-stanley
Level 1
Level 1

Hi Dexter

I'm assuming the target server is remote to your location, and your route out is over the serial link. If so, do teh following:-

enter enable mode.

>ena

password

>>conf t

>>ip route 149.142.248.0 255.255.255.0 192.168.15.245

>>^z

This configures a static route from your location via 192.168.15.245 ( the other end of your serial i/f) to network 149.142.248.0. Bear in mind the far router also needs a route to the 149.142.248.0 network.

You should be able to ping the ip address to test. If ok wr command to save the new config.

Review Cisco Networking for a $25 gift card