routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:01 AM - edited 03-02-2019 09:03 AM
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
- Labels:
-
Other Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:48 AM
--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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:22 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:05 AM
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.
