10-05-2001 12:42 PM - edited 03-01-2019 06:50 PM
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.
10-05-2001 02:24 PM
I dont 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 wouldnt 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).
10-08-2001 06:39 AM
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.
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