Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
public IP pool behind linux router
Dear Guru help require.
I have scenario to solve, I have to configure public IP on my network PC which are behind Linux router.
22.214.171.124/32(router WAN-IP eth1) --> 192.168.1.1 eth0 and 126.96.36.199/29 eth0:1 (router LAN-IP)
default GateWay of my linux router is 188.8.131.52
now I configure IP 184.108.40.206/29 on my windows machine, and Internet is working fine , but I get 220.127.116.11 on www.whatismyip.com, question is WHY this IP shows on whatismyip.com???? why 18.104.22.168 not shows on whatismyip.com??? what I am doing wronge?? help me
You should provide more information about your router and network. First you should provide us your network stuff from your router (especially NAT rules, routes and interfaces). Beside of that I still didn't get why you use 192.168.1/24 as you seem to not need it. In short: be more verbose.
The last three bits determine which host is addressed.
The first one will have these bits all zeros. This is your network address. The last one has all three bits ones. This is your broadcast address. One of IP addresses will be used for your router's gateway address. By convention, the first or last legal IP address for your network (not ending in 000 or 111).
Your IP addresses are all over the place. Please indicate what block of address you were given by your ISP.
Maybe you transposed a couple numbers.
This doesn't make sense: 22.214.171.124/29
But this does: 126.96.36.199/29
You have two networks. One with a private address range. Another with a public address range. Your router will have one rule to route traffic for each range, with the private being masqueraded to one or more of your public IP addresses.
If you have a block of public IP addresses because you are offering services on the Internet, then you should have two firewalls and place the public hosts in the DMZ. You want to isolate the LAN traffic from incoming Internet traffic. You could also use three NICs. One for the WAN, one for the DMZ and one for the LAN.
I would recommend you read through the Network Administrators Guide book. It is an O'Reilly book. The second edition is available for free: