cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
690
Views
0
Helpful
4
Replies

routing

ouartil
Level 1
Level 1

hi, this is my pb

my pc have ip @ 192.168.7.1 255.255.255.0

another pc ip @ 192.168.6.1 255.255.255.0

router cisco 1720

fast ethernet 192.168.7.2 255.255.255.0

ethernet 10bt 192.168.6.2 255.255.255.0

i want from my pc , ping the auther pc,so i want to make a static route, so i put

router(config)ip route 192.168.6.0 255.255.255.0 192.168.6.2

am i right?

thanks

4 Replies 4

Prashanth Krishnappa
Cisco Employee
Cisco Employee

You dont have to configure any static route for this to work.. Configure your default gateway's on your PC to the correponding IP address on the router's ethernet and fastethernet interfaces

--begin ciscomoderator note-- The following post has been edited to remove potentially confidential information. Please refrain from posting confidential information on the site to reduce security risks to your network. -- end ciscomoderator note --

i have try it but it doesnt work, i can ping ether pc's from the router, but i cant ping from pc to pc.

why? please.

this is a sh ru

Current configuration : 685 bytes

!

version 12.3

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router

!

enable password xxxxxxxxx

!

memory-size iomem 25

ip subnet-zero

no ip routing

!

!

!

!

!

!

!

interface Loopback0

ip address xx.xx.xxx.13 255.255.255.248

--More--

no ip route-cache

!

interface Ethernet0

ip address 192.168.6.150 255.255.255.0

no ip route-cache

half-duplex

!

interface FastEthernet0

ip address 192.168.6.145 255.255.255.0

no ip route-cache

speed auto

bridge-group 1

!

ip default-gateway 192.168.6.114

ip classless

no ip http server

!

bridge 1 protocol ieee

!

line con 0

line aux 0

line vty 0 4

password xxxxxxxxxxxx

login

--More--

Router#sh ip route

Default gateway is 192.168.6.114

Host Gateway Last Use Total Uses Interface

ICMP redirect cache is empty

Router#

thanks.

On your config, I could see "no ip routing". You will need to enable routing under global config mode,

Router(config)#ip routing

Hope this helps,

Rajesh

Andrew.Prescott
Level 1
Level 1

So long as the router is routing IP it will, by default, route between its configured interfaces.

You can look at the routing table to confirm that the router can "see" the networks by entering the "show ip route" command.

The default gateway for the network must be defined on each PC. The default gateway being the router address on that network.