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.
what does /29 and /30 signify here? These are different subnets? You can't do that. an aliased interface should be on the same network, otehrwise you're just breaking things left right and centre, even IF it appears to still work, it's AWFUL practise.
And routing tables define where to go next, not what local interface to use to get there. regardless of aliases interfaces and such, if you say that destination x is reached via next hop a.b.c.1 then it will have to use an interface ON that subnet, so if it has a.b.c.100 and a.q.r.123, it'll have to use the first one implicitly
i have one interface with two ip with diff subnet mask, and two gw , now according to your last post i have to change the second ip so both have the same subnet mask ,
OLD ==> eth0 -> /29 ,,,,, eth0:1 -> /30
NEW ==> eth0 , eth0:1 --> /29 ,, same GW
i want to route my remote server go through eth0:1
how can i do that ?
If you have two different internet connections, then you should have two different nics OR vlans on the switch. What you're doing will most likely work fine, but it's just very bad practise. You can leave it as is if you have no realistic option to improve it.