From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandru Dragoi Date: Wed, 11 Oct 2006 13:36:00 +0000 Subject: Re: [LARTC] Two outbound internet links, using one network interface Message-Id: <452CF340.3070305@zoomnet.ro> List-Id: References: <45266C57.4010106@ma-isp.com> In-Reply-To: <45266C57.4010106@ma-isp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Dashamir Hoxha wrote: > Using VLANs, you can separate the networks on the link level instead. > This is the same (in software) as using 2 different LAN ports (in > hardware). > > Thanks for the suggestion. I am trying it, and it seems very easy to > be used. > However the problem is that it is not working. > I am doing it like this: > > # /sbin/modprobe 8021q > # /sbin/vconfig add eth0 2 > # /sbin/ip link set eth0.2 up > # /sbin/ip addr add 192.168.10.2/24 dev eth0.2 > > When I try: `ping 192.168.10.1` it says "Destination Host Unreachable". > Both IPs are connected to the same switch. Does anybody know what can > be wrong? > > Dashamir > > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc You need a switch with 802.1q vlan support (cisco for example). The network card need to be pluged in a switch port in "trunk" mode, and the providers each in its access switch port in specified vlan (like 2). _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc