Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Cisco Routing

Thread Tools
 
Search this Thread
 
Old 16 December 2002, 06:58 PM
  #1  
Charlie_Boy
Scooby Regular
Thread Starter
 
Charlie_Boy's Avatar
 
Join Date: Oct 2002
Location: London
Posts: 613
Likes: 0
Received 0 Likes on 0 Posts
Post

Just wondering i have 4 Ethernet interfaces on my router and simply want to add a static route to E0/0, can i simply add this route in global config mode or do i need to add when in a specific interface mode. also can you add 1 route without losing all the other routes.
Old 16 December 2002, 08:04 PM
  #2  
NotoriousREV
Scooby Regular
 
NotoriousREV's Avatar
 
Join Date: Jan 2002
Posts: 11,581
Likes: 0
Received 0 Likes on 0 Posts
Post

I'd add it in global
Old 16 December 2002, 08:15 PM
  #3  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

add as many as you like (until config runs out of space )

routes are in global.

ip route <Network> <Mask> <Next Hop>

e.g.

ip route 192.168.2.0 255.255.255.0 192.168.1.2

in your case the "next hop" should of course be somewhere on the LAN directly connected to E0/0

Deano
Old 16 December 2002, 09:20 PM
  #4  
BazH
Scooby Regular
 
BazH's Avatar
 
Join Date: Jul 2002
Posts: 274
Likes: 0
Received 0 Likes on 0 Posts
Post

But routings done between networks ur ethernet port should already know what's 'directly connected'
Old 16 December 2002, 09:37 PM
  #5  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

of course but unless you're running a routing protocol (or divine intervention) it needs to know the next hop for a non-directly connected route. as there can be hundreds of ip addresses on an ethernet segment - it needs to know which one to forward packets to which are destined for the subnet you're routing.
Old 16 December 2002, 09:50 PM
  #6  
Charlie_Boy
Scooby Regular
Thread Starter
 
Charlie_Boy's Avatar
 
Join Date: Oct 2002
Location: London
Posts: 613
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks Dsmith, exactly what i wanted to know.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
StefanW
Subaru Parts
4
21 October 2015 09:04 PM
Benrowe727
ScoobyNet General
7
28 September 2015 07:05 AM
nowellyboy
General Technical
0
22 September 2015 02:12 PM
Matt_182
Suspension
6
18 September 2015 05:31 PM
averyp2
ScoobyNet General
3
09 September 2015 03:59 PM



Quick Reply: Cisco Routing



All times are GMT +1. The time now is 05:56 AM.