Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a linux server that hosts a website (widgets) for our organization (It was setup by some vendor that is long gone)
The server has two interfaces:
ETH0: 192.1.1.25 /24
ETH1: 10.1.1.25 /24
From the network if I ping the website widgets it translates to 10.1.1.25.
When I go home and launch the VPN I cannot access the site by its name. I can ping it by the name though. However if I type in 192.1.1.25 into the browser I can access the site.
The VPN assigns IPs in the 192.1.200.0/24 subnet.
The routing table looks like:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.1.0.0 192.1.1.1 255.255.0.0 UG 0 0 0 eth0
0.0.0.0 10.1.1.85 0.0.0.0 UG 0 0 0 eth1
Thanks for any assistance.
Last edited by abernut; 09-25-2018 at 11:38 PM.
Reason: typo
10.x.x.x and 192.x.x.x are reserved addresses for private networks, I think the other one is 172.16.x.x. All internal networks belong here, and they share their address with countless other internal networks.
I know nothing about your vpn, but I gather you have access to your internal 192.1.x.x from an address on 192.1.x.x. You don't tell us anything's wrong, it's just mystifying. The internet uses ports to identify services. Port 80 is http (browsing). VPNs use many ports depending on type.
You really don't understand much of this, do you? If it's a business, hire/contract someone to maintain the site. Get him/her in and let him explain it to you. If the club is penniless, there's a hard road ahead for somebody.
Last edited by business_kid; 10-02-2018 at 10:43 AM.
The reason you cannot access the server over VPN using the name is because your internal DNS resolves to the 10.x.x.x address. There are several ways to address this so that it will work.
Setup DNS to give out addresses depending on the IP Address that requests them
Allow access to the 10.x.x.x network from the 192.x.x.x network
Add a host file entry for this server into your host file.
Quote:
Originally Posted by business_kid
10.x.x.x and 192.x.x.x are reserved addresses for private networks, I think the other one is 172.16.x.x.
I knew it was Class A, B, & C networking officially but I've had a stroke since I grokked this stuff and a little of this is hazy. 10.x.x.x and only /8?
I knew it was Class A, B, & C networking officially but I've had a stroke since I grokked this stuff and a little of this is hazy. 10.x.x.x and only /8?
/Groan
I never realised how much I had grown to hate fixing electronic hardware until I stopped in 2006, and people came after me to do one last job. . .
I never realised how much I hated engineering blurb until I had to read some after I graduated in 2014. Your network standard brought it all flooding back. I had a Math section in my own final paper, analyzing my design and I can't follow it now :-(. I should have googled instead of asking.
lazydog, we've kinda hijacked Abernut's thread with our(my) waffling.
Quote:
Originally Posted by Abernut
The server has two interfaces:
ETH0: 192.1.1.25 /24
ETH1: 10.1.1.25 /24
lazydog has highlighted the Private Address range. Unless you're employed in BBN Communications in Cambridge, England, you shouldn't be using that (192.1.1.25) IP in case it gets to the outside world, where it is registered and will get redirected to BBN Communications. That could certainly affect your routing issues! BBN may even view it as spam, or an attack. Use 192.168.1.25 instead - that's private.
Make that change if you're not the registered owner of 192.1.1.25, and see what effect that has on your routing issues.
Post a new thread for a new question pls. That offers you the choice to "Check for similar threads." You should do that, in case your query is already answered. This_Tutorial offers a good idea of what to include. Do not use words like 'this' 'that' 'it' but be explicit in naming things and don't presume we can guess. Don't tell us it fails without giving the error, even if it means nothing to you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.