Prev: Fwd: trying to update PowerEdge BIOS "Make sure the following utilities are in the path ..."
Next: USB stick refuses to work
From: Adam Hardy on 25 Jan 2010 11:10 Jochen Schulz on 25/01/10 14:46, wrote: > Adam Hardy: >> I am trying to install a Belkin wireless print server and it's got a web >> interface factory setting on 192.168.2.253 which I currently can't browse >> with my setup as it is (request timed out). >> >> I'm working on my LAN's gateway server, which has two NICs, one for the >> local network eth0 and one for the internet. > > Your problem most probably is that your gateway is missing a (host) > route to the print server. Because of that, it routes requests to the > print server through its default interface (the one connected to the > internet. AFAIK, something like > > # route add -host 192.168.2.253 eth0 OK grand, with that route cmd, I can access the printer server. One more question - where should I put this in the gateway's networking setup to make it permanent? Thanks Adam -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Jochen Schulz on 25 Jan 2010 11:30 Adam Hardy: > Jochen Schulz on 25/01/10 14:46, wrote: >> >> # route add -host 192.168.2.253 eth0 > > OK grand, with that route cmd, I can access the printer server. > > One more question - where should I put this in the gateway's networking > setup to make it permanent? AFAICT, there's no special mechanism for static routes. But you can add them to /etc/network/interfaces like this: iface eth0 inet dhcp ⦠up route add -host 192.168.2.253 eth0 down route del -host 192.168.2.253 eth0 J. -- I eat meat and am concerned about bugs which are resistant to antibiotics. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html>
From: Adam Hardy on 25 Jan 2010 12:10 Jochen Schulz on 25/01/10 16:28, wrote: > Adam Hardy: >> Jochen Schulz on 25/01/10 14:46, wrote: >>> # route add -host 192.168.2.253 eth0 >> OK grand, with that route cmd, I can access the printer server. >> >> One more question - where should I put this in the gateway's networking >> setup to make it permanent? > > AFAICT, there's no special mechanism for static routes. But you can add > them to /etc/network/interfaces like this: > > iface eth0 inet dhcp > … > up route add -host 192.168.2.253 eth0 > down route del -host 192.168.2.253 eth0 If I said: route add -net 192.168.2.0 netmask 255.255.255.0 eth0 then all IP addresses from 1 to 255 would be routed, according to man. I saw that using the -host option causes the routing table to set up a route with the netmask 255.255.255.255 - not quite sure of the significance of that though. Is that sensible though? -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Jochen Schulz on 25 Jan 2010 12:40 Adam Hardy: > > If I said: > > route add -net 192.168.2.0 netmask 255.255.255.0 eth0 > > then all IP addresses from 1 to 255 would be routed, according to man. True. > I saw that using the -host option causes the routing table to set up a > route with the netmask 255.255.255.255 - not quite sure of the > significance of that though. Is that sensible though? If you have just this one device with an IP address in 192.168.2.0/24, then a host route will work. If you have several devices, you could either go the braindead route (no pun intended) and add a host route for all of them or use a network route like the one you proposed. J. -- If I won the lottery I would keep all the money and wallpaper my house with it. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html>
From: Chris Davies on 27 Jan 2010 16:30
Adam Hardy: > I am trying to install a Belkin wireless print server and it's got a web > interface factory setting on 192.168.2.253 which I currently can't browse > with my setup as it is (request timed out). Jochen Schulz on 25/01/10 14:46, wrote: > # route add -host 192.168.2.253 eth0 Adam Hardy <adam.ant(a)cyberspaceroad.com> wrote: > OK [...] where should I put this in the gateway's networking setup to > make it permanent? Wouldn't it make more sense to put the printer server onto the same IP address subnet as the rest of your kit? Chris -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org |