Ubuntu Networking :: Bridging Ethernet Ports & Keeping Static IP On One Port
Mar 11, 2010
I'm currently using Ubuntu 9.1, and a motherboard which has two Ethernet ports on it.
What I would like to do is bridge these ports, so I can plug in another Ethernet cable and run it to an unmanaged switch in my room (handy for my work laptop when on-call and building other PCs, etc).
I.e. Router --> 8-Port Switch --> My PC.
Eth 0 --> 192.168.1.100 static
Eth 1 --> 5-Port Switch --> DHCP
I believe this is the config to make the ports bridged:
ifconfig Eth0 0.0.0.0
ifconfig Eth1 0.0.0.0
brctl addbr Bridge0
brctl addif Bridge0 Eth0
brctl addif Bridge0 Eth1
ifconfig Bridge0 up
- How do I save this so upon reboot it sticks?
- How do I force Eth0 to remain as a static IP of 192.168.1.100?
View 8 Replies
ADVERTISEMENT
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
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
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
Aug 10, 2010
I have been trying to get my laptop to share its wireless connection to my older, wireless-less, computers through its ethernet port. So far, I have not been able to make it work. As far as I know, what I am trying to do is called network bridging. The method I have been trying so far is to run these commands as root:
Code:
ifconfig wlan0 -promisc
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 eth0
ifconfig br0 up
Each time I do this, the system running as a bridge loses connection, and the system being bridged to never gets a connection. My hardware is:
Code:
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
View 3 Replies
View Related
Apr 8, 2011
My first one is the network: Our routers' ethernet ports are all in use and I cant get one of them. So Im asking you what I need to buy. Our router now is a speedport w701v. The new router should have wlan and good working LAN. It shouldnt be very expensive... give me some tips what I should look for (because Im very new with router...) and maybe give me a link where they tested many routers (and where I can trust the results).
View 3 Replies
View Related
Apr 16, 2010
I have a system with one (sometimes two) ethernet ports, that works happily in an old Fedora 5 build. But I can't get it to work on a new Centos 5.4 build. Original system: One dedicated ethernet port on card always connected to the systems dedicated equipment and no external access (the system is the DHCP master for that network). An optional second USB dongle that is a second ethernet port, used for debugging and development. (This is a DHCP client with full conectivity. In /etc/sysconfig/network-scripts I have ifcfg-eth0, ifcfg-eth1 and a route-eth0. Neither of the ifcfg files needs an explicit HWADDR, which means the same ones work for all boxes. And when one needs to be connected to the network all is fine.
The system is being moved to Centos 5.4, most is working with minimal change, but I am having problems with the ethernet ports. If it only has the on board ethernet connected, all is fine. If you have the USB dongle connected things go wrong: This system brings up the USB ethernet first, and tries to assign it to eth0 (which fails), and then brings up the on board ethernet as eth1 (which also fails). I have tried forcing the behaviour of the network by setting the HWADDR(s), but this does not result in the on board coming up as eth0, it comes up as __tmpxxxx as follows:
ifconfig -a
__tmp226406138 Link encap:Ethernet HWaddr 00:80:66:07:A8:63
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
[Code]...
Currently the only solution is to unplug the USB dongle through restart and plug in afterwards, and this wont work when the unit is remote and in the field.
View 14 Replies
View Related
Feb 27, 2011
I had 2 Ethernet ports and neither of them were working on a fresh build a friend was struggling with. After reading the suggestions to fix the issue and thinking that there had to be an easier way I had an epiphany. I would go to my spare parts box and bring out my old Netgear GA311 and pop it into the slot. So after searching for 10 minutes I found it and installed it. Booted up the rig and it found that right away (SWEET) now that's not the fix anybody can do that, once I updated Ubuntu the on-board ports started working (that's what I'm using now). I can't explain what the update did but for a few bucks a used card in the tool box might not be a bad idea!
Mother board is a Gigabyte GAX58A-UD5 Rev.1 Personally I'm an ASUS guy.
View 1 Replies
View Related
Apr 30, 2011
Just recently got a new rig, and was wondering, is there a way to share internet via a switch. I understand the problems with switches is that they dont assign IPs like routers do, but if my ubuntu machine worked like a router by assigning IPs, could it work? Current setup is as such. I have one ubuntu machine with 1 ethernet port (this shall be the main preferably) 1 mac with a single ethernet port 1 modem with a single ethernet port that cannot assign more than one IP address. And a 5 port switch. Would it be possible to place the modem into the switch, get the ubuntu machine to receive the IP address, and broadcast all other address' to everyone else via the same switch and ethernet cable?
View 3 Replies
View Related
Aug 30, 2010
i have an embbeded hardware that uses bootp for booting from a Network Managemnt Host (NMH)on the same ethernet. The embedded hardware has both kind of ports i.e ethernet as well as E1/T1. I would like ask, what do i require to establish a communication-link between the embedded hardware and the NMH throuh E1/T1 ports of embedded hardware, so as to make it boot through from E1/T1. Further, NMH possesses only ethernet port. Just to refine my questions i'd like to know what additions do i need to do on my NMH , like may be i have to put an E1/T1 port or is it possible that the E1/T1 port can be directly connected to an ethernet port on the other host.
pardon me if i am not making absolute sense here as my knowledge is limited on Layer 1 and layer 2.
View 3 Replies
View Related
Apr 9, 2010
I have 2 (some future machines will have 4) ethernet ports. I want to have them configured such that if any gets unplugged, as long as at least one of them is plugged in, it can reach the network (even if via a different IP address), and it can be reached (at least when trying a working IP address). I tried this for /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
[Code]...
View 15 Replies
View Related
Sep 26, 2010
I know how to forward ports in my router. Now I need to open a port to help with testing a project and no matter what I've tried, every port under 1055 shows up as stealthed (with 1-71 closed) according to Shields Up! I'm happy to run it at a port > 1024, but whatever I try also shows up stealthed. I even tried (briefly) turning on DMZ and still the same thing. My ISP swears that they only block port 80, 21 and 25, none of which I'm trying to use. UFW status reports inactive and I'm not using firestarter. I'm not running any other server (apache, light speed etc). If it's not my router and it's not my ISP, and there's no other server apps running, then that kind of leaves Ubuntu as far as I can see,
View 8 Replies
View Related
Sep 3, 2010
How do I change the ports that something like xchat uses to make it use the same port as firefox? I am currently somewhere that has all non browser ports blocked.
View 1 Replies
View Related
Aug 12, 2011
I have a vps server running certain services which can be accessed via a web browser (e.g webmin control panel), but I have recently been unable to access these services from my home machine using Firefox 5.0, running ubuntu 11.04.
Example:
I can access the server on port 80 fine, eg: [URL]
However I cannot access my webmin control panel on: [URL]
The pages takes ages to load and then times out. Same with transmission-daemon on: [URL]
Everything is set up fine on my server, the ports are open in firewall etc. and I can access these pages fine from my work computer.
This has only started happening in the last day or two and had been working fine up till then. I have not messed around at all with the firewall on my home machine. I have tried other browsers besides Firefox with same result.
View 4 Replies
View Related
Jul 27, 2011
I am running 11.04 on a Dell Inspiron 1501 (the first gen.). I was using my Ethernet port to connect to the internet until about two weeks ago - suddenly the system no longer recognised that port even existed and just kicked me offline. I am able to get online now with a wireless card (replaced the broadcom card, that was a whole different can of worms...).
why my system is unable to connect with the Ethernet port? If I plug in the cable nothing happens.
View 2 Replies
View Related
Jul 29, 2010
I can't figure this out for the life of me. I am new to Linux too. Wireless works fine. I plug my Ethernet in and turn off wireless and I cant surf the web, download, etc...Network Manager finds the wired network under eth0 and it works perfect on my non-linux desktop (nervous to even mention Vista around here). Firewall was set up with basic setup (I didn't make any changes). I have a Sony vaio VPCCW21FX with fedora 13. Can anyone point me in the right direction?
View 10 Replies
View Related
Apr 20, 2011
I am using ubuntu 9 but unable to connect to internet via my usb Siemens c110 modem. I have a dual boot system of both windows7 and ubuntu9. I am using the same modem in windows7 and have installed virtualbox where i have installed the same ubuntu9 but there it automatically detects the wired connection(usb)[eth0] but in the actual boot it doesnt detect anything. I have typed in the terminal sudo ppconfig but it was unable to find anything.
View 1 Replies
View Related
Jun 21, 2011
I am running Ubuntu 11.04 and i am curious to if there is a way to share my established wireless connection through my Ethernet port.. I know it was possible in Windows by going to adapters and bridging the wireless, and Ethernet adapters. how to make this work in Ubuntu?
View 1 Replies
View Related
Mar 1, 2010
I changed to a 4 port ethernet router (D-Link DSL-2542B Adsl2+)with intention to share Internet access with my brother (he's on Vista).Initially it all went well,but 3 days ago there were connection problems occured on the part of the ISP. Without realized the problem,I had reset the router.This morning I've been informed by the ISP that the connection has been re-established.So,I accessed the Internet via the 4 port router but failed to do so (server not found).Suspecting that the problem was from the 4 port router,I reverted to my old Adsl router (DSL-520B single port) and without any problem I managed to access the Internet back.I really need help to configure back the 4 port ethernet router to its initial state.
View 9 Replies
View Related
Jul 21, 2011
I'm running an ubuntu maverick server, and I'm having a slight problem with networking. I've only got one ethernet line running into my room, and I've got loads of computers. The server has 2 ethernet ports, one integrated into the motherboard, one on a PCI card that I took from my old server. The on board ethernet never worked on my old server- but I only tried it out post-install, it was hooked up to the card during install (For the record, networking on linux has *never* worked for me if I installed then plugged in the networking stuff after the fact). So I just used the card instead. Transferred the hard drive into a new machine, and lo and behold, it would only work after I transferred in the card from the old one. What I wanted to set up is a basic NAT system, where the network connection is routed through from my server to my main desktop- but when I run ifconfig, my card is not detected, just lo and eth0. How can I fix this?
View 3 Replies
View Related
Aug 13, 2010
I am using Ubuntu 10.04 Lucid and VMware 2.0 server. I have a an XP virtual machine that is needed for work. When I am at home and I place my cat 5 cable to my cisco catalyst switch, my XP VM recognizes the ethernet card on my laptop and bridges fine with ubuntu and works fine and I can get to my network. When I take my laptop to work and I go to a site and I plug it into a World Wide Packet 311 management port on the switch, my XP Virtual Machine does not see the network no matter what setting I set it too(100 full, 10 full, 10 half and etc). It simply says that the network card is disconnect. Ubuntu see the network fine and I can ping and talk to the network without any issues but the VM does not.
View 2 Replies
View Related
Nov 8, 2010
I have a simple server running Ubuntu Server. Usually the server connects to the network by Wifi, so there is usually no cable connected to the Ethernet port. I noticed that there is a dhclient3 running on eth0 anyway. It is causing undesirable disk activity. Obviously, it is never going to get a response as long as no cable is connected. I can kill the responsible process manually, but I wonder first what is starting the process and how I can prevent it from being started. If there is a way to get the server to boot without starting this process, I wonder whether this is the right solution. Connecting to the network by Ethernet is the failsafe when Wifi doesn't work. I guess what I would like to see would be a way for the server to detect when eth0 does not have a cable connected and not start dhclient in that case, but to activate dhclient when a cable is connected.
View 4 Replies
View Related
Jul 6, 2010
I have a server in a colocation environment where I'm allotted 25Mbps. I'd like to avoid exceeding that for obvious reasons. Is there a way I can set the link speed or at least throttle the bandwidth for all services?
View 2 Replies
View Related
Jul 28, 2010
I have a Dell WLAN 1397 Half Minicard, 802.11 b/g card in my laptop, and I can't seem to get ubuntu to work with it. I tried this method:
1. Synaptic Pack Manager
2. Check "Install from Boot Disc"
3. Reload
4. Install and apply bcmwl-kernel-source
5. Reboot
This didn't work for me, so I tried entering sudo apt-get install bcmwl-kernel-source and that also didn't work. Another thing I tried is formatting my Ubuntu partition and reinstalling, and retrying both of those methods. The ethernet port does work, however.
View 3 Replies
View Related
Feb 25, 2010
I want to transfer the audio file on linux machine using Ethernet port, is it possible?
View 6 Replies
View Related
May 20, 2010
I recently installed a new CPU and motherboard in my Media Server, but the ethernet port isn't showing up under ifconfig. Is there any way to install additional drivers? EDIT: The model is Realtek RTL8111/8160B.
View 3 Replies
View Related
Oct 6, 2010
while my brother was browsing the web on my windows partition he had a blue screen pop up, one of the soft/hardware error ones, not a true BSOD, anyways, ever since my lan port on the computer seems to not be activiating as no wired connection is recognized. The lan port/card is directly attached to the Mother Board, it's a gigabyte motherboard in a self-build computer. I'm just wondering if there's anything I can do to troubleshoot this and see if it is truly a hardware problem or if its something else.
View 9 Replies
View Related
Aug 30, 2010
I am trying to open a tunnel for a friend of mine who's isp has blocked a bunch of webpages, so I was thinking I would learn how to since it might come in handy in the future Anyway, so I looked at a couple of videos about going in to network settings and changing the setting to manual and write down the desired IP (in my case 192.168.0.137). Then I went into my router (it's a D-link DI 524) and tried adding my static IP as the DMZ computer. I then restarted, everything looked fine, the router saved the settings and the eth0 still hade the information saved so I wanted to try it out. I just googled "try my ports" and I found a website called [URL]...But no ports worked for me.. I tried double checking everything, checking for errors. I couldn't find anything so I'm guessing you might have a clue!
EDIT: It seemed I had to have a program that actually used the port for it to work.. It's working anyway, so if you could move it to [SOLVED] I'd be happy
View 1 Replies
View Related
Jul 26, 2011
I set up a vnc connection to my machine the other day and while doing that checked out any open ports.To my astonishment my ftp port is open, although I double checked the firewall and there's no check in the checkbox for the ftp port. I didn't add a "other ports" rule or anything as well.So, how would I be able to fix that?
View 5 Replies
View Related
Jun 29, 2011
I've had an issue in KDE where each time I restart my computer, I get 5-7 notifications that it wasn't able to connect to my ethernet port. (Or something close to that) I think it's trying to connect to my marvell port over and over. Has this happened with anyone else? I think I remember this happening with Ubuntu as well only it only tried to connect to that port once and then stopped trying.
View 1 Replies
View Related