20-05-2005, 00:37
|
#1
|
|
Inactive
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
|
Static routes
What is the destination? Is it, say, the first IP in the range? I would have thought it would be .0 or perhaps the router IP for that network, but then the destination and gateway would be the same
route add <destination> <mask> <gateway>
|
|
|
20-05-2005, 07:43
|
#2
|
|
Guest
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
|
Re: Static routes
Destination is the sunet defined by mask, i.e. if the 'destination' is 142.222.345.0 and the mask is 255.255.255.0, the destination is any IP in the range 142.222.345.x. If the mask is 255.0.0.0, the destination is any IP in the range 142.x.x.x. The gateway is the actual IP of the gateway device.
HTH
|
|
|
|
20-05-2005, 07:48
|
#3
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,384
|
Re: Static routes
Destination and Mask define the ip's covered by the route you are adding - gateway is where the device is to send any packets in this range.
__________________
Baby, I was born this way.
|
|
|
20-05-2005, 20:30
|
#4
|
|
Inactive
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
|
Re: Static routes
Thanks for the replies - but how do you choose the number for destination? Can you pick any number within the range you want?
At work, a customer wanted a route adding and gave a destination ending in .128 - I just wondered, "Why .128?"
|
|
|
20-05-2005, 20:35
|
#5
|
|
Guest
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
|
Re: Static routes
Basically, yes. For example, if the destination is 142.222.345.x, mask 255.255.255.0, it dosn't matter what you specify for 'x'. Don't know why your customer would specify .128 unless the mask was 255.255.255.255, i.e. he/she wants to route an individual ip.
|
|
|
|
20-05-2005, 20:39
|
#6
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,384
|
Re: Static routes
Like I said - the destination and mask are combined to define the ip range you want to route - the general convention is to make the actual destination ip the lowest ip in the range.
__________________
Baby, I was born this way.
|
|
|
20-05-2005, 20:40
|
#7
|
|
Inactive
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
|
Re: Static routes
Ah right. It's a strange world really. The customer wanted a range adding. Without the route, traffic was going via London to get to an address down the road. Big trip times.
I was wondering it the gateway at the other end was .128 - the gateway in the "route add" is the gateway on the way out, so to speak.
Ta Paul
I'm just a humble desktop guy - all this networking stuff I leave to those with beards
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 11:24.
|