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.
Hello,
i have one interface with multiple alias interface (0:1,0:2,0:3 ..) for interface range 0:1-2 there is 1Mb/s ineternet with static ip , now i want 512Mb/s internet on 0:3 with static ip and different gw , how can i implement that ....
for internet i used wireless connection , for some reason i should separate server's internet from client internet
Hello,
i have one interface with multiple alias interface (0:1,0:2,0:3 ..) for interface range 0:1-2 there is 1Mb/s ineternet with static ip , now i want 512Mb/s internet on 0:3 with static ip and different gw , how can i implement that ....
for internet i used wireless connection , for some reason i should separate server's internet from client internet
Best Regards
Hi Hesisaboury,
As per my understanding, if you are having only one interface and two internet connection and you need to access two network, if it is correct, you need to create the vlan in your switch and set up the vlan id in to the interface of your system. After that the machine can access both of the VLAN host and internet. The following URL will help you to set up that
i can not understand , why vlan ,,, is it possible use routing instead of vlan ... here is my state
eth3:0 , 1, 2, 3 ==> four public ip , internet 1024Mb/s
eth3:4 ==> new IP and new GW ,, Internet 512mb/s
i was thinking about route .... PLZ if i'm wrong , explane more..
Thanks
Last edited by hesisaboury; 01-20-2013 at 01:19 AM.
As per my understanding... how can you terminate both internet connection in a single interface.....? I am not sure whether is it possible or not. But in the case of creating two vlan in your s/w, you can assign both network in a single Ethernet card using aliasing, But I think that also doesn't serve your requirement....Can you please update the diagram here.. So it will give better idea about this and may be other people can help on this.
eth0:0 -> ip-pub1....eth0:1 -> ip-pub2......eth0:2 -> ip-pub3 ..... (new) eth0:3-> ip-pub4
all eth0:0-2 == same gw
eth0:3 -> diff gw
for client's internat i used snat (eth0:0) , and for eth0:1,2->DNAT (mail,web)
we have some remote servers with high transaction (up/down) . they slowed the client's internet. i decided to have another internet line , the isp provide the new line on the existing line . (isp --- wireless ---linuxGW(my GW)).
now i want route remote server traffic go through the new line.
the isp provide the new line on the existing line . (isp --- wireless ---linuxGW(my GW)).
now i want route remote server traffic go through the new line.
Best Regards
Hi,
A few questions from my side.
a) What is the equipment provided by the ISP (CPE), is it a modem or router?
b) What is the type of connection provided by ISP. is it a wired or wireless and how many connections?
c) What is the type of connection from the CPE to the server. is it a wired or wireless and how many connections?
d) If they provide the new connection on the existing line, the network would be same as the exiting or with a new subnet with all these IP's belongs to that new subnet right?
PS:- Still I think your scenario will not work with a SINGLE Ethernet card on the server.
Finally I Solved it
all i have done , SNAT based on destination now my remote server's traffic is going through the new line . when i remove SNAT for client , my server have internet. it means that works.
here is :
1) i have mikrotik wireless (i think router)
2) there is a wireless connection between us and ISP , we had one connection but now 2 CON
3) i have diff IP and Subnet
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.