In article , [EMAIL PROTECTED] says... > Gaz wrote: > > > > I would have thought Windows 98 would accept something like: > > > > route add 100.100.100.240 mask 255.255.255.240 [default gateway] > > It depends on the host's own address. And I've forgotten what we said that > was by now. ;-) > > > > > I don't think there's any restriction to host routes. > > A host route is one that specifies a specific address, i.e. the mask is > 255.255.255.255. I doubt there are restrictions to that either, although, > obviously, you have to point to a local default gateway and not just any old > address. >
Thanks :-) > But there are restrictions to other routes, depending on the bit pattern. > I'm using different addresses than in our example and don't really feel like > twidling bits, but I was able to do something like this: > > My address is 100.100.100.17 255.255.255.224 > > I can: > > route add 100.100.100.16 mask 255.255.255.240 gateway > > That causes the packets for 100.100.100.16/28 to go through the gateway > router. > > I can't do the following though. Windows 98 gives an error message and won't > add the route: > > route add 100.100.100.2 mask 255.255.255.240 gateway > > I can do this though: > > route add 100.100.100.2 mask 255.255.255.254 gateway Not sure what you were trying with the first one. Have I misunderstood? I don't know any device that would accept a route without using the network address. (100.100.100.2 is the network address for a 255.255.255.254 mask, but not for 255.255.255.224). But now you've got me worried, because I know your pedigree :-). Humo(u)r me. What d'ya mean. All this has given me an idea though. I would like to have used the same IP address on my laptop when I'm at home and at work. I had to change my local subnet at home, because when I VPN in to work, I have 192.168.80.0/24 at both ends. I should, if what we're thinking is right, be able to put a more specific route on for the odd addresses I need to get to at work, primarily remote desktop to my work PC, our local router and a couple of terminal servers. That way I can leave my IP address the same for both locations (probably). Gaz Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=56420&t=56347 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]