Find the answer to your Linux question:
Results 1 to 2 of 2
I have encountered a strange problem. I used to be able to access our network printer at 10.217.132.13 in my office. However, after I started a VPN of my school, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    14

    Question HELP!!! a bug in route or what?


    I have encountered a strange problem.
    I used to be able to access our network printer at 10.217.132.13 in my office. However, after I started a VPN of my school, the routing table is changed by VPN, so I can no longer access the printer. And thus, I need to manually add the printer IP into routing table. I tried 2 methods:
    1.
    route add -net 10.0.0.0 netmask 255.0.0.0 dev eth0

    2.
    route add -net 10.217.132.13 netmask 255.255.255.255 dev eth0

    By right, both should work. However, it turns out that only Method 2 works. I also know that all internal IPs in our school does not starts with 10.*, in other words, VPN should not have interfered with IPs starting with 10.*. Any reason???

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    653
    It looks like your "10." network is layed out as a "10.217.132.0" (this is quite common). Meany that the netmask is "255.255.255.0" or "/24".

    Also you could do:
    Code:
    route add -host 10.217.132.13 eth0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •