Re: way OT: route table
From: Javier Gomez [SBS MVP] (javier_gomez_at_remove.this.engineer.com)
Date: 04/02/04
- Next message: Nic: "Re: way OT: route table"
- Previous message: nic: "Re: way OT: route table"
- In reply to: nic: "Re: way OT: route table"
- Next in thread: Javier Gomez [SBS MVP]: "Re: way OT: route table"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Apr 2004 13:46:43 -0500
You must be able to "see" the router before you make a route using it. So,
you either have to change some IP addresses or you need to assing a 2nd IP
to the SBS NIC (and I'm not so sure about the second).
-- Javier [SBS MVP] << SBS ROCKS !!! >> "nic" <anonymous@discussions.microsoft.com> wrote in message news:12f9501c418e1$746b3df0$a001280a@phx.gbl... > Thanks for the quick response. In your post you said to > try this: >>>first try >>>route -p add 32.76.0.0 mask 255.255.0.0 192.168.16.1 > > Maybe I'm not userstanding or I didn't explain myself. > The default gateway is at 192.168.16.1. > The private gateway is at 192.168.0.1. > > when accessing 32.76.x.x I need to go through the private > gateway (192.168.0.1) NOT the default gateway > (196.168.16.1). Adding a route add line of: >>>route -p add 32.76.0.0 mask 255.255.0.0 192.168.16.1 > would cause the request to go through the default gateway > and not the private gateway. When I try to add a route of >>>route add 32.76.x.0 mask 255.255.255.0 192.168.0.1 > > I get an error saying "either the interface index is wrong > or the gateway does not lie on the same network as the > interface". The private router is set up to pass all > traffic to the private network but I'm having trouble > accessing the private gateway. > > If I'm on the 192.168.16.0 network, how can I send a > request to the 192.168.0.1 gateway? > pinging yahoo for example I want to go through > 192.168.16.1 but > pinging 32.26.x.x I want to go through 192.168.0.1 > > Once again sorry if you already answered the question, I > just don't quite understand the answer. > > > >>-----Original Message----- >>NIC: >> >>Here is my $0.02: >> >>first try >>route -p add 32.76.0.0 mask 255.255.0.0 192.168.16.1 >>but don't forget you need the routing tables set up in > your >>access router also. Both ends. And both ways. This > should >>get ping to work. DNS, is another post. >> >>You have your internal IP range of 192.168.16.0 >>your access router (CSU/DSU interface) has an interface on >>your local network as 192.168.16.1 (I think this is what > you >>implied in your post.) >> >>IP routing of the data packets happens in your access >>router and the external address is probably 192.186.0.1 >> >>on the other side of the point-to-point is another access > router with >>an address pointing to you with something like > 192.186.0.2 or something. >>(what ever it is, it must be within the mask of the two > access router >>external IP address.) >> >>Another IP routing of data packets takes place inside the > remote access >>router and the local interface of the remote access > router will probably be >>something like 32.76.0.1 >> >>You set up your local routing table to forward all > 32.76.X.X to the local >>interface on your access router. >>The local access router should have its route table setup >>to forward all 32.76.X.X to the remote access router. >>the remote access router should know to pass all >>32.76.X.X to the remote local interface. >> >>If it is setup correctly, the remote site could have a > different >>IP Scheme at the local interface of the remote access > router, >>but as long as the routing tables along the way know to > keep >>passing 32.76.X.X along to the next router, your packet > should >>get to network 32.76.X.X. >> >>I hope this is not too confusing. Just remember, the > routing >>tables must be set up to find your local IP Scheme also. >> >>Phil S. >> >>"nic" <anonymous@discussions.microsoft.com> wrote in > message >>news:1783b01c418d1$74bc3760$a401280a@phx.gbl... >>> I'm not sure who to ask. If any of you know of a better >>> newsgroup just let me know. >>> >>> OK, we are running SBS 2000 with an internal IP network > of >>> 192.168.16.0 (net mask 255.255.255.0, gateway >>> 192.168.16.1). We have a need to add a frame-relay > point >>> to point connection with another company. This uses a >>> completely different router and is on a seperate network >>> of 192.168.0.0 (net mask 255.255.255.0, gateway >>> 192.168.0.1) This will give us a private connection to >>> their network. On their network I have to reach one of >>> their servers (32.76.xx.xx). I was told I could add a >>> static route in the route table to access the private >>> network. (I have a server that needs to be on the main >>> network but still access the private network) >>> >>> I tried adding a static route of >>> >>route add 192.168.0.0 mask 255.255.255.0 192.168.0.1 >>> >>> This fails saying the interface could not be found. If > on >>> that machine, I change my IP to go to the private > network, >>> I can successfully ping the gateway. But how can I > remain >>> on the 192.168.16.0 network but still access the >>> 192.168.0.1 gateway? I'm hoping there is a networking >>> guru out there. I'm pretty sure it will involve a > static >>> route but i'm having trouble. >>> >>> Thanks >> >>. >>
- Next message: Nic: "Re: way OT: route table"
- Previous message: nic: "Re: way OT: route table"
- In reply to: nic: "Re: way OT: route table"
- Next in thread: Javier Gomez [SBS MVP]: "Re: way OT: route table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading