[clue] Looking for help with a "simple" Debian "route" command....
David L. Anselmi
anselmi at anselmi.us
Fri Dec 23 16:37:34 MST 2011
Jim Bucks wrote:
> Hi All,
>
> I've got a relatively simple "routing" question. How do I add
> "secondary / non-default" gateway's?
I don't think you want to add a route. What problem do you think that solves? Guessing that your
boxes aren't talking to each other correctly, I think you need to fix your network rather than add a
route.
> Here's the rough layout.
>
> Isilon
> ----------------
> 172.200.205.12 / 24 (10 Gig to Debian Server)
>
> Debian Server
> ----------------
> 172.200.205.52 / 24 (10 Gig, Port 0 to Isilon - NFS Mount)
>
> 172.200.205.53 / 24 (10 Gig, Port 1 to HP Switch - SMB service)
>
> 192.9.200.xxx / 24 (1 Gig Port to house / internal network so I can work
> on it from my desk)
Are you saying that the server has a 10G interface connected directly to the Isilon, and another to
the HP switch? Does the Isilon connect to anything else or does it look like this (ignoring the 192
stuff for now):
________ ________ ___________
| Isilon |<----->| server |<----->| HP switch |
-------- -------- -----------
In that case it looks like you've defined 1 subnet when you need 2. You can't use 172.200.205.0/24
on both sides of the server. Use .206.x on the Isilon/server interfaces (or anything else where the
network addresses are different on either side of the server.
You could also plug the Isilon into the switch and drop the server interface it was connected to
(ignoring the pros and cons).
> Here's what I get when I try a "normal" route add command....
>
> 17:17:04-[root at isilonSMB: network]$ route -v add -net 172.200.205.53
> netmask 255.255.0.0 gw 172.200.205.53
> route: netmask doesn't match route address
Your route commands will only work if you zero out the host parts of the network address. So you
tried these, which don't work:
172.200.205.53/16
172.200.205.53/24 (written two different ways)
These will work:
172.200.0.0/16
172.200.205.0/24
172.200.205.53/32
More information about the clue
mailing list