Networking :: Bridging Or Routing Between 2 Segments With 2 Internet Providers

Mar 23, 2010

My roommate has a slow ADSL provider, and i have a much faster cable connection. He has his own residential gateway, and as do i. The goal i am trying to accomplish is to share 2 printers (1 behind each residential gateway) and also files between computers on the different LAN segments, but not share ISPs or DHCP servers.

Thus far, i have configured my residential gateway's DHCP server to have control of the 192.168.1.0/24 network and his gateway's DHCP server controls the 192.168.0.0/24 network. We've got a Slackware 13.0 Linux box connected on the 192.168.0.0/24 network which currently just serves a web page and accepts e-mail for a domain. My knowledge of networking fails me here as I'm not sure what piece of equipment i would need to buy to solve this puzzle (bridge or router). I know iproute2 can do wonderful things on Linux, and i figure it would be easier to just shove a NIC or 2 in the Linux box and make it do what i need instead of buying more networking equipment.

View 1 Replies


ADVERTISEMENT

Networking :: Have 2 Internet Providers At Office And Want To Use A Single Router To Route Them Both?

Jul 8, 2011

I have a weird issue with source routing on a linux box.The plan goes like this:I have 2 internet providers at my office and i want to use a single router to route them both ( i don't need load balancing or failover). I just want access to either provider based on the ip i use on my pc. The first provider, let's call it RDS, is simple: i've got an RDS_IP, RDS_MASK and RDS_GW.The second provider is complicated, we'll call it INES. I have a INES_IP, INES_MASK, INES_GW and they also gave me a subnet of public ip's: ILAN_NET which i have to route myself through INES_IP.I also have a third nic with an local ip: LAN_NET and an alias for the INES subnet: ILAN_NETthe router has dhcp enabled, giving by default ip's from LAN_NET and using the default gw, RDSI have snat for the LAN_NET to go through RDS.

If i enter an ip from the ILAN_NET, instead of routing in through the INES_GW, it also goes through RDS_GW.the routing i've used for about 5 months has worked perfectly untill one day, when it just stopped. this is my setup:ip route add $RDS_MASK dev $RDS_IF src $RDS_IP table rdsip route add default via $RDS_GW table rdsip route add $INES_MASK dev $INES_IF src $INES_IP table inesip route add default via $INES_GW table inesip route add default via $RDS_GWip rule add from $RDS_IP table rdsip rule add from $INES_IP table inesip route add $LAN_NET dev $LAN_IF table rdsip route add 127.0.0.0/8 dev lo table rdsip route add $ILAN_NET dev $ILAN_IF table inesip route add 127.0.0.0/8 dev lo table ineswhat puzzles me the most is that this setup has worked, and now it doesn't .... without any changes on the router.I've tried everything save for a format/reinstall.

View 2 Replies View Related

Ubuntu Servers :: OpenVPN: Routing Versus Bridging

Apr 21, 2010

Just curious to see what everyone's opinion on using routing vs. bridging for openVPN. I'm installing openVPN on a linux box that I'm using as a router. What I was wondering was your opinions on which one of these two options to use.

View 2 Replies View Related

Ubuntu Networking :: Bridging Internet Connections And OpenVPN?

Jul 13, 2011

I'm trying to set up an openVPN server for a small office. I've gotten the server running, and configured keys, and been able to connect to the server. The trouble is that once I connect with my windows machine to the server, I am unable to bridge through to the www. I have combed through so many settings and tutorials, and I am confused as to how to set up the interfaces configuration file. Here's a sample of my routing table:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
XXX.XXX.XXX.0 * 255.255.255.128 U 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
default XXX.XXX.XXX.1 0.0.0.0 UG 100 0 0 eth0

How should I be configuring this so that when I'm in the VPN I can get through to the internet?

View 9 Replies View Related

Ubuntu Networking :: Bridging 3G Dongle Internet To Wireless Router?

Aug 11, 2011

I dont know if its possible or not ? I'm using 3G dongle (ppp0 interface) for connecting to internet on my laptop running ubuntu 11.04 , now i want to share this 3G connection to my wireless router(Trendnet TEW-652BRP) through eth0 interface in simple my connection should be like this

INTERNET<<<3G WIRELESS MODEM<<<LAPTOP----WIRED CONNECTION TO WIRELESS ROUTER<<<OTHER DEVICES (LIKE ANDROID MOBILE/LAPTOPS SHOULD CONNECT THROUGH THIS WI-FI CONNECTION)

View 9 Replies View Related

Networking :: Routing All Traffic To Internet Through A Box?

Oct 6, 2010

I am sharing my DSL internet connection using a modem+wireless router (single device) to 5 systems. I want all my internet traffic to go through one of the linux boxes in my network.

The problem here is that wireless devices connect directly to the modem+wireless router.

Is such routing of traffic possible??

PS: I am not sure if i could convey my situation clearly...

View 2 Replies View Related

Ubuntu Servers :: Organize In One Server The Internet From Two Providers (ADSL)?

Jan 13, 2011

How to organize in one server the Internet from two providers (ADSL) ?

View 1 Replies View Related

Ubuntu Networking :: Routing Internet From One Router To Another?

Feb 11, 2011

How can I find the IP of a router wirelessly so I can use the second router for a better signal? (A farther reaching wireless card is what im trying to make it do)

also how can I find the subnetmask this way?

View 4 Replies View Related

CentOS 5 Networking :: Routing 2 Internal Nets Through Separate NICs To Internet?

Nov 9, 2009

I have configured CentOS 5.4 as a router/firewall (iptables) as such, and it is working fine:

eth0 - Public IP/Intenet, DHCP
eth1 - 192.168.0.0 internal "net1"
eth2 -10.0.0.0 internal "net2"

I want to add a fourth NIC, eth3, which will be assigned its own Public IP/Internet address (thru DHCP; my ISP provides two). The purpose it to route all net1's internet-bound traffic through eth0, and all of net2's internet traffic to eth3. This allows me to use one router/firewall machine instead of two separate ones. I anticipate that without some specific routing instructions, the default route will be eth0 for all net1 and net2 internet traffic (eth3 will be ignored).

I thought of using just one NIC (eth0) but create an alias (eth0:0), but IPtables (and possible DHCP) can't differentiate between the two (besides, nics are inexpensive). Is there a way to do this through routing commands, or even use iptables prerouting/forward functions (or is using iptables problematic)?

View 1 Replies View Related

Networking :: Insert Routing Data Into The Routing Table Doesn't Work?

Apr 6, 2010

I have a firewall, this consists of three NIC's:

Code: eth0[192.168.0.2] eth1[192.168.1.2] and eth2[10.10.165.2]

I am trying to ping eth0 from eth2, but I am not able to succesfully get a response from pinging the device, I am using:

Code: ping 192.168.0.2 -I eth2

I have tried to insert routing data into the routing table, but it still doesn't work

View 2 Replies View Related

General :: Configure OpenVPN And Internet Bridging In CentOS?:

Feb 14, 2011

I only have very basic understanding on how it works.This question may have been asked so many times, and honestly I've tried so many tutorials and have read a lot of articles but it all didn't worked. I may be too stupid to have this done, or it is just the lack of knowledge.

Here it goes,I have a VPS with a host which runs OpenVZ in LA. I want to create a VPN tunnel to the VPS and tunnel all my internet traffic to the VPS. Can somebody please help me out on the step-by-step?

I was once able to configure the VPS to run OpenVPN and my client pc was able to connect to it, but the internet connection is still thru with my local connection. Did it with a tutorial too. I would also like to ask, The VPS has 512mb of RAM, I was wondering how many clients can it handle at the same time.

View 2 Replies View Related

Networking :: Do A Download Speed Test When Comparing Hosting Providers?

Mar 18, 2010

How do I do a download speed test when comparing Hosting Providers?I'm on a Macbook Pro - wondering if there's an ap for this?Also, I have accounts at each provider with a 100mb file, but I'm guessing I'm closer to one than the other? How would I make it fair?

View 4 Replies View Related

Networking :: Routing To Internet Through One Network And To Local Ips In Another Network?

Mar 31, 2009

I have two networks. One of them is wired, the other is wireless. The wired has an internet connection and a few other computers connected to it. The wireless network has a few hosts connected to it too, but it has no internet connection. What I've been trying, fruitlessly, to do, is make all connections that are bound to the internet, or my wired network, be routed that way, and all the connections to the hosts of the wireless network go that way.

Here's the setup..

Wired:

192.168.1.0/24 Gateway = 192.168.1.1

Route internet through here

Wireless

192.168.2.0/24 Gateway = 192.168.2.1

If my computer sends a packet to the internet, it should be routed through 192.168.1.1 If I send a packet to one of the local hosts of the wireless network, it should be routed through 192.168.2.1. Here's the routing table I've set up(This is one of many configurations I've tried)

Code:

$ ip route show
192.168.2.1 dev wlan0 scope link
192.168.2.0/24 via 192.168.2.1 dev wlan0 src 192.168.2.4

[code]....

With this, and everything else, I get destination host unreachable when pinging. The strange thing is that, if I unplug my eth cable, reboot and connect to the wireless network, everything is fine and I can access the router and the others. I'm trying to improve my networking skills, as I've had this of setting up a small linux box as a router for quite some time, for the fun of it, but I need to get routing under control before I go ruin my network.

View 6 Replies View Related

Fedora Networking :: Don't Seem To Get Our Bridging With Protocol

Jul 12, 2011

We are running in to a issue where we don't seem to get our bridging to work as we expected. Meaning passing all traffic from Point A to Point B. As explained below:

[Code]...

This is the original connection. Now we are adding our Linux IP impairment box for IP tables in between Application Server A and Router X so the figure would look as below: Application Server A --> IP Impairment box --> Router X --> router Y --> Application Server B

The issue we are having is When a packets are sent from Server A to Server B they are going through for PING, TCP, UDP, but for BGP the connection is established at a TCP level (SYN, SYN-ACK, ACK), but the BGP OPEN packet does not get through and our BGP relation ship does not come up between Application Server A and B. Application Server A and B are a routers also but there are applications running on those router. BGP is underlying protocol used for Application Server A to be talking with Application Server B and getting routes for each other.

Even with the iptables empty (all rules default ACCEPT) we still can't seem to get these BGP OPEN's through. We see both sides of the application servers sending BGP OPEN's, but the Linux bridge never passes those packets to the other side of the bridge. Tracking the BGP packets, we see the packets at iptables raw PREROUTING and filter FORWARD tables but the packet doesn't get out the other interface.

View 2 Replies View Related

OpenSUSE Network :: Xen Networking Without Bridging

Mar 5, 2010

you can do secondary interfaces (virtual interfaces?) for your virtual machines (domU's) and not loose your eth0 to the bridge. Is there documentaion on Xen in OpenSUSE without bridging?

View 6 Replies View Related

Networking :: HDLC To Ethernet Bridging?

Aug 17, 2010

Have upgraded HDLC version for 2.4.20 kernel from 1.02 to 1.14. And recompiled the kernel and HDLC driver. Also it requires sethdlc utility for configuring HDLC and driver parameters which was found on the internet where the patch for HDLC was found. Having done that with kernel and driver reloded, when you try to configure HDLC interface for HDLC and physical parameters as follows:

#sethdlc hdlc0 hdlc nrzi no-parity

error is thrown

hdlc0: Unable to set HDLC protocol information: Operation not supported.

Currently the driver doesnt support configuration of physical parameter.

But can you configure the HDLC protocol parameters for the interface having modified the HDLC version in the kernel 2.4.20. Basically the HDLC interface has to be configured and bridged with existing Ethernet interface using Brctl utility.

View 1 Replies View Related

Networking :: Bridging Configured But Not Working?

Jan 17, 2011

I have configured bridging based on information from a few web pages Google found. Traffic is being seen (using tcpdump) on both interfaces that are configured. However, the traffic is not going between them. What could be missing?The bridging machine has 3 NICS: eth0, eth1, eth2. eth0 is configured normally with an IP address (I can login via ssh to it just fine). The bridge is named br0 and uses eth1 and eth2 (a dual NIC card for convenience identifying which NICs are the bridge).

A script executes these commands:
Code:
bash-4.1# /etc/rc.d/rc.bridge-up br0 eth1 eth2
EXECUTING brctl addbr br0

[code]...

View 6 Replies View Related

Networking :: Bridging Wireless To Wired?

Aug 22, 2010

I am trying to share my internet access using the following setup.

A Linksys WRT54G v5 router that is connected to my cable modem in my basement. I want the signal to be picked up by my Hawking HWABN1 and sent through a Linksys BEFSR41 to my Ubuntu desktop running 9.04.

I'm pretty sure the Hawking is receiving the signal because when I check the devices in the wireless router setting the IP shows up. I can't seem to get anything whether it is hooked up to the BEFSR41 or straight to the desktop and Ubuntu tells me I'm offline and I'm not getting an IP.

I have a WinXP laptop that I have used to run the Hawking setup and it is supposed to be accessible through a web based interface similar to the routers.

View 5 Replies View Related

CentOS 5 Networking :: Bonding Or Bridging?

Jul 19, 2011

I am confused as to what is going on with a particular box that I am working with.As you can see in the attached ifconfig print out, one eth port is basically only used as a output while the other is only really used as an input.I connect to the box via 10.20.40.104 for ssh,ftp,http,etc.I just want to know the name of what is happening (is it bonding,bridging?) and maybe some information about where it is configured.I looked in modprobe.conf

eth0 Link encap:Ethernet HWaddr 00:1E:C9:EE:5A:91
inet addr:10.20.40.105 Bcast:10.20.40.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:feee:5a91/64 Scope:Link

View 6 Replies View Related

OpenSUSE Network :: Routing To The Internet By A Laptop With UMTS Connection?

Jun 7, 2011

I'm going to an area with no wired internet connection so I would gather information on if it is possible and how to make working the following configuration for an home network:

a wireless access point connected to a laptop (an old one with a centrino Duo) with a usb stick for UMTS connection to the internet it is possible to use the laptop for routing to the internet the requests (http, ftp, mail etc..) of the PC connected to the home LAN which software have I to install on the laptop?

View 9 Replies View Related

Ubuntu Servers :: Dynamic Routing For Redundant Internet Links?

Jan 14, 2010

As far as I can tell, the server guides only explain a bit about what dynamic routing is, but not how to implement it.

My situation is this:

We require a server with 3 interfaces. One local, one to a vsat link and the other to a fibre link. The fibre will be the default route for Internet traffic but we want dynamic routing to automatically switch to the vsat link when the fibre link goes down (which happens fairly often in Zimbabwe!) and then switch back to the fibre link when it comes back up again.

The first option would be to handle dynamic routing on a Cisco router, but at the prices of Cisco devices here, it's not the most affordable option.

View 3 Replies View Related

SUSE :: Dhcp Server Not Routing Its Clients To Internet / Sort It?

Feb 8, 2010

I have setup a dhcp server on eth0, & i have static Internet connection on eth1.
now clients are getting ip automatically, they are able to trace root upto eth0 & eth1.
but i am not able to access Internet from client machines. i am using open suse11 as a server.
i am not able to do telnet & ftp also from client. i am able to access Internet from server.
so please help me to configure my server so that i can access Internet from client machines also.

View 1 Replies View Related

Ubuntu Networking :: Bridging LAN And Wireless Connection?

Feb 11, 2011

Here's the story running 10.10 on my box with a wireless N adapter I'm about to go get a XBox with the built in wireless but the problem is that the XBox does not pick up 5ghz. Any way to connect the XBox with a ethernet cable to my motherboard and bridge those connections so the XBox can get network access?

View 1 Replies View Related

Ubuntu Networking :: 10.10 - Bridging Wireless Connection To XP

Apr 1, 2011

My laptop, which is my main machine, is running Ubuntu 10.10 I am bridging my wireless connection on my laptop to my Dell desktop; but I have somewhat of an issue. I was able to bridge the connection with ease, but the IP the XP machine has been assigned is not in my subnet. The issue is that I need to port forward to this machine, but my router doesn't recognize that the PC is on the network because it has a random IP. I've tried assigning a static IP on the XP machine itself, but it doesn't change...

View 2 Replies View Related

Networking :: Two Nics Setup With No Bridging But Still Seem To Bridge?

Jun 29, 2010

I'm trying to setup a Centos box to act as a backup server for our intranet between stores. I have two interfaces in it, the first one is currently connected to my local network and is using dhcp to get its ip address and such, the second one is set to a static ip address and is connected to an independent network that just has a DigiBoard Portserver hooked to it and no connection to the regular network. What I am doing is using ssh to portforward the telnet port on this box to the main server so when you telnet into the box from the second interface using the portserver you get connected to the main server.

I plan on using this over DSL lines as a backup when our main dervice goes out to allow the portservers at the remote locations to seemlessly connect to the main server by just moving the network cable from the local net to the backup server. My problem is that when I have the everything working I am able to ping the second interface ip address from the normal network even though the secondary card does not in anyway externally connect to the network, this is a problem.

Eventually I want to duplicate the main server address so that the normal portservers and other terminals on the remote site will not have to be reconfigured to access the backup server. All I want is to be able to tell the managers is to switch a cable while the main connection is down and not have to manage a bunch of config files to get the store back up. Right now if I duplicate the main server ip address and it is accessible through the first interface I'm guessing I'll see all kinds of problems relating to duplicate ip addresses on the network. I've tried some routing and iptable stuff but I'm not real familiar with either so I had no luck. Is there someway to block the internal connection between the two interfaces so the only thing that sees the duplicate ip address is the second interface?

View 1 Replies View Related

Fedora Networking :: Get KVM Static IP Bridging To Work On F10 Install?

Jan 29, 2009

I'm trying to get KVM static IP bridging to work on my Fedora 10 install. I've looked at the related posts on this subject and tried some of the suggestions without full success. I've used the virt-manager to create 2 Windows XP guests on the host (all on the same machine).I need to use static IP addressing on the 2 guests as well as the host.I need the guest VMs and host to be able to see each other as well as connect to the outside world. Using the script below I found in an earlier post, I get network connectivity with the 2 guest VMs but the host can't get out at all.

[Code]...

View 4 Replies View Related

Fedora Networking :: Does Network Manager In F15 Support Bridging

Aug 24, 2011

does Network Manager in Fedora 15 support bridging and if so, can you configure the bridge using your wireless interface? All of the information I've come across so far said that you can NOT create a bridge using a wireless interface, and that Network Manager doesn't support bridging, but this info was also from Fedora 12 and below, so I don't know if it's still relevant for Fedora 15. I would certainly hope that by now you can make a bridge from a wireless interface. Even the lowly VMware Player offers this option.

View 2 Replies View Related

Ubuntu Networking :: Bridging Wireless With Ethernet Port?

Apr 29, 2010

I have a Dell Studio 1501 Laptop and I want to bridge the wireless with the ethernet port so I can hook my xbox360 to my laptop.

I've spent the last 2 hours trying different techniques but nothing is working.

I'm running Ubuntu 9.10 so the last thing I tried was going into the network manager, clicking on wired, editing the ethernet port and allowing it to share. This did nothing.

I tried to share the connect with firestarter but that did not work either.

View 2 Replies View Related

Ubuntu Networking :: Bridging Connections Laptop Xbox

Nov 2, 2010

I know my way around windows but my Vista files got corrupted a few days ago and thats why i decided to use Ubuntu.Well anyway, this is my problem.Ive got a Acer5920 Laptop and an Xbox. My xbox is in the living room and Id like to connect it to the internet. When i had vista i used bridged connection. :Xbox => ethernet port of my laptop bridged with wlan of laptop => router.Bridging connections on vista is fairly easy but I have no clue how to bridge connections on ubuntu.

View 2 Replies View Related

Ubuntu Networking :: Bridging Firewall - How To Block Incoming Traffic

May 2, 2010

I have a ubuntu computer set up as bridge between gateway and lan, with the lan connected to eth0 and gateway on eth1.

I'm trying to get it to basically block everything incoming except for the ports i specify, but also allow outgoing traffic. I've found, tried, modified som examples i found on the web, but still it wont block incoming traffic (ie, im still able to reach my webserver)

These are the rules, and i can't figure out why it wont block:

Code:
#!/bin/bash
iptables -F
iptables -X
iptables -I INPUT -i eth1 -j DROP

[Code].....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved