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.
ok i have this rhel 5 server in our lan . Its ip is 192.168.4.20. We just bought a static ip. Now i want my rhel server to have both the i.p.. So that my branch at Malaysia can download the code via static i.p., while keeping previous i.p.also for my local network. Can any body tell me how to do it. Any nice links would be really helpful.
Thanx in advance
can you define your network topology? you would not want to have a public and private IP on the same NIC, so i would say there's going to be a better solution to what you actually want to do. normally the IP would be held on your firewall and statically natted through.
i created eth0:0 and gave it the static i.p. the one i bought (suppose 167.89.45.6)
while eth0 is 192.168.4.20.
I can ping eth0:0 from lan machines,,but cant ssh or do svn checkout,,it says connection refused on port 22. Slinux and firewall is already disabled. But still ???
So people in my lan will access the rhel5 server for svn checkout as svn co svn://192.168.4.20/file
while people from outside will do svn co svn://167.89.45.6/file.
Maybe you've already thought of this and disregarded it for topology reasons, but would adding another NIC to the server makes things more simple for you? Then just assign each NIC their respective IPs?
the main internet connection connects to a switch. The server and other machines also connect to internet trough this switch. So the server is no different from other machines, in term of internet connection. The only diference is that the serv er has 2 nics,,while other pcs have only one
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.