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?
I want to connect my modem straight to my fedora 13 box, using it as a firewall, and I want to use my wireless card to set up an ad-hoc to give internet to the windows computers in my house. My router has been messing up and I am trying to create a quick fix until I can solve the problem.
My eth0 has internet connectivity but when I use the brctl command to try to create a bridge it doesn't let me add my wireless card, wlan0, and also I lose internet while my eth0 is in a bridge. I am fairly new to Linux.
I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.
Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?
My current setup is a slack based distro with Squid 3.0 running in transparent mode with WCCP. Web filtering and AV scanning works great but we need to go a step further and introduce port filtering into the setup. I can easily accomplish this with iptable entries but only if I point to the proxy directly; the goal is to do this completely by interception. So far I've had no luck doing this with iptable entries or with squid ACL's and I am wondering if there's something that I am missing or just not doing correctly. So far during testing I've just been testing with common IM chat ports such as MSN and Yahoo. I am currently trying to setup a test lab with squid and 2 NICs with one NIC connected directly to the internet but this is not a route I would like to go.
I have 1 root-server with 2 NICs, both having their own internet IP addresses:
Code: eth0 = 8x.x.x.183 eth2 = 8x.x.x.205 We only have one gateway on that network: Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.
How can this be setup ? With route / ip route / iptables ?
I tried google but without success. I have a small home network and one computer has to work as a bridge (comp1), it connects to the internet through wlan and is connected with cable to other computer (comp2), I would like to to make that second computer member of a local network with internet access.I was trying this:
my both linux and windows has 2 network cards each.
basicaly it is vLan cards, each server has 2 network cards. one to main switch and one to local IP.
data will be going like below:
internet ----------------> eth0 --> linux --> eth1 ----------------> Windows.
i have vLans on both servers. And i need cross connection setup. And use linux in bridg mode / cross connection .
actualy i want to use Iptable rules to filter bad packets and forward good packets to windows. i have scripts how to forward packets to windows. but the problem is i dont know how to setup both servers in this topology. and how to make linux as bridge.
All it should be in transparent mode. Not in NAT mode.
I'm currently trying to set up OpenVPN on my Ubuntu Server, however I'm having trouble setting up bridging. I am following the tutorial for bridging that is located on the Wiki here: [URL] At the current time my /etc/network/interfaces looks like this (default from Ubuntu install):
I've currently got a Xen box with 3 Virtual machines on it, in a routed setup. I'd like to put them all on a private internal network as well, which I'm assuming I'd do with a dummy network card and a xen bridge, but I can't find any information about setting up the xen Bridging setup on top of the existing network-route instlal.
I am a (somewhat) newbie to Linux (but have an extensive Windows background), and I have just installed Debian Squeeze in an old EeePc 701 4G using the netinst version only with the following packages:
Now I would like to install Debian in my main laptop, but I think it won't be able to connect to any wireless networks during setup and before installing firmware-brcm80211 and wireless-tools (its wireless card is a Broadcom 43224AG). That being, and to avoid connecting the computer directly to the router (it is not easy), I would like to bridge the EeePc's wireless connection to my laptop using a cable. I tried using the instructions found at the Debian Wiki, but I couldn't set it up properly.
I'm following this guide [URL]. I am trying to use a bridge to vpn from work to home.
/etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback
# The primary network interface auto br0 iface br0 inet dhcp bridge_ports eth0
iface eth0 inet manual up ifconfig $IFACE 0.0.0.0 up up ip link set $IFACE promisc on down ip link set $IFACE promisc off down ifconfig $IFACE down
I am forced to use dhcp because of my router. (although it is a static lease) I think this is where I am hung up. Everything else seems to be working properly though. I have a windows client connecting but is limited to the server serving out openvpn. (192.168.1.21) In other words it is not functioning as a bridged vpn service.
ifconfig openvpn server.conf local 192.168.1.21 port 1199 proto udp dev tap0 up "/etc/openvpn/up.sh br0" down "/etc/openvpn/down.sh br0" ca ca.crt cert server.crt key server.key # This file should be kept secret dh dh1024.pem ifconfig-pool-persist ipp.txt server-bridge 192.168.1.21 255.255.255.0 192.168.1.100 192.168.1.200 keepalive 10 120 tls-auth ta.key 0 # This file is secret comp-lzo user nobody group nogroup persist-key persist-tun status openvpn-status.log verb 3
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.
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?
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.
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
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.
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
I have an adsl modem acting as a bridge to my router my setup was working well for more than year now , but then the internet went slow . I set the modem back to PPPoE the problem was with the DNS server of the ISP so using ifup i set the dns t 8.8.8.8 (google) the connection is back , but when i set the modem back as a bridge slow internet does the router know that my dns is 8.8.8.8 or i should set the dns on the router ? I can't see an option to set the dns on the router ( i just enter my username and password from the isp to use PPPoE mode ) by the way i called the isp support they kept telling me to restart , i told them i did but i never restarted my pc . I'm sure if i tell them i'm running linux they will blame the os !
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?
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...
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.
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.
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.
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.
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?