Networking :: Configuring Two Ethernet Ports?
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
ADVERTISEMENT
Apr 27, 2011
Because my ISP is blocking every IP port under 1000, I'd like my local nat'ed server to be able to translate incoming and outgoing traffic from some port above 1000 to the default server port locally.Example :
To connect to my IMAP server (default port : 143) from the outside,I'd connect to my public IP, port 1143 (opened and nat'ed to the right server on my router) and the server would translate this port to 143 on the same machine.I wish I could simply configure my router to do that but sadly Linksys doesn't permit such setting... I also could modify the listening port of my server but I prefear to keep the default port inside my network.I think that iptables is the right tool to do that and I never used it and I must say that this tool is not so easy to configure at first sigh
View 5 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
Nov 3, 2010
I am using 3 machines in a LAN connected through a hub. My intention is to have a end-to-end connection between 2 machines so that I can control delay/loss rate. For that purpose, I am using a 3rd machine with 2 NIC and intend to use a bridge and installing Dummynet in this machine to control the traffic between the other 2 machines.I have successfully installed Dummynet in the bridge machine. Now I require to configure Ethernet bridge in the machine. What is the process? Do I need a kernel compilation or can be done without it? read somewhere that recent kernels can be configured without recompilation.I am using Mandriva 2010 with 2.6.31.5-desktop-1mnb kernel.
View 1 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
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
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
View Related
Sep 27, 2010
I am would like to configure postfix to send and receive email across Ethernet (just for now). I have two machines with postfix installed both using Ubuntu 10.04 directly connected with an ethernet cable. I have successfully configured a machine to send email to gmail, however i have been unsuccessful in having these machines send email back and forth. I have been interested in setting up a little mail server at home and have just been trying some simple projects with postfix to start with. At this moment i am using ip addresses and am not concerned with using a dns server
machine A: has a fixed ip of 10.137.202.1, hostname = mail.me.com,
machine B: has a fixed ip of 10.137.202.20, hostname = mail.ubuntu.com
in the /etc/hosts file I map each hostname to ip address receptively (not sure if a good idea, but at this point I have been trying everything)
So I will execute from Machine B
echo "Here is a message" | mail -s 'Hello' cmd@[10.137.202.1]
I currently get from mail.log timed out while receiving the initial server greeting. I get from mail.err valid hostname or network address required in server description #[10.137.202.1]. Obviously when I run the mail command from cmd user i do not receive anything. I can receive mail from myself if from machine A, I sent an email using the command above. I would just like to send email from machine B and receive it on machine A via direct Ethernet connection. I have been through postfix documentation and have also read the postfix definitive guide and have had no luck.
Here is a recent main.cf as I have tried getting this to work (this is for machine A however, similar for B)
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname .....
View 2 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
Aug 15, 2010
lspci reports 07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12) 08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12) eth0 is picked up (light when I plug n the cable lights up). nothing for eth1.
other OSes on the same machine pick up both.
My /etc/network/interfaces file looks like
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
iface eth1 inet static
[Code]...
For those who are interested, I have an adsl modem and a router is connected to the modem. eth1 is a connection to the modem. eth0 to the router.
View 5 Replies
View Related
Feb 18, 2009
I seem to be having a strange problem configuring Piranha to load balance (Direct route) 2 ports across 2 w2k3 servers in a test environment. What is strange is that 1 of the ports are working fine but the other port doesn't work. I've read many how-to and after many frustrating hours I disabled the firewall, iptables and arptables services and one of the ports are load balanced across the 2 real servers. Here's the environment.
[Code]....
I can telnet from the client to the realserves on both ports and it's works. When I telnet to the VIP only one port gets through and the other gives me "could not open connection to host port 32777 : connect failed. The configuration in Piranha for one port is the same as the other. I can't help but think that some other configuration for port 32777 was missed.
View 1 Replies
View Related
Jun 28, 2010
I need to ask about Virtual Interface, as I need to use my ethernet interface to act as two ethernet ports. As I need to give eth0 an IP address and give eth0.5 another ip address, and make some natting and other issues. Can I do that with the same interface?
View 3 Replies
View Related
Feb 27, 2016
I'm trying to connect my computer to an ethernet cable and having no luck, I looked up the problem and was told to put
Code: Select allauto eth0
iface eth0 inet dhcp
But after a restart the computer I still did not have access to the internet (aslo, dhcp is enabled on my modem, I checked)...
View 14 Replies
View Related
Apr 12, 2010
I am trying to setup a VPN on my FC 12 box. Looks like getting openvpn to work behind NAT is as easy as just forwarding the ports. Do I need to forward any specific protocols (GRE, etc)? Also, can I do this with one Ethernet port (IE: RJ-45 jack), or do you recommend a second ethernet port? I could add in another PCI ethernet card if it makes it easier. Anyone know if a single ethernet jack will work or do I need two?
View 2 Replies
View Related
Apr 9, 2011
I have a Opensuse 11.4 workstation that has two ethernet ports and I was wondering if there is the chance to use the other ethernet port as a switch to a Mac/PC?
View 2 Replies
View Related
Aug 9, 2010
I have installed Unbuntu 10.4 Cloud Server. I have two servers:
Front End Server (clound-fe):
2 Dual Core 32 bit Xeon processors (They do not support Virtualization)
2 Ethernet Ports
[code]....
View 1 Replies
View Related
Aug 23, 2010
I have loaded Suse 10.3 on a system that has 4 Ethernet ports, all Intel chipsets. 2 ports have the 82571 chipset, 1 port has the 82573 chipset and the last one has the 82567. The 82567 chipset can use the e1000 driver and the 8257x chipsets require the e1000e driver. We are only actually using the 82571 ports.
When the system is booted, the 82567 seems to get bound to the e1000 driver and the 82573 gets bound to the e1000e driver. Doing an "lsmod" I see both drivers loaded. It appears the 82571 drivers are getting bound to the e1000 driver which is a major problem. They work for a while but eventually they lock up with enormous error counts according to "ifconfig". How I know the e1000 driver is bound to the 82571 ports is that when I remove it(modprobe -r e1000) and then try to use one of them, I get a "network unreachable". When e1000 is loaded these ports seem to work fine. I tried modding the file in /etc/sysconfig/hardware that corresponds to the PCI address of these ports(i.e., hwcfg-bus-pci-0000:08:00.0) to force the module to e1000e, but no luck there either.
View 1 Replies
View Related
Sep 1, 2011
My laptop was working fine on wireless till the userinterface changed and it defaulted to ethernet and now it won't let me go back on wireless How do i disable ethernet?
View 4 Replies
View Related
Dec 17, 2010
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies
View Related
May 10, 2011
I can successfully forward a port via:
PHP Code: ssh -L 5900:localhost:5900 test@192.168.5.1
how do I forward several ports at once. This is a wrong example but:
[Code]...
View 2 Replies
View Related
Aug 11, 2010
How can I tell if my USB ports are 2.0 ports?
View 1 Replies
View Related
Apr 6, 2010
A few months ago I installed Ubuntu 9.10 on my girlfriends laptop, on her request, as she didn't like Windows any more. Since then the internet connection periodically slows down due to too many open ports/connections. Always when this happens I call our ISP and usually there are around 80-200(!) active connections to various IP's.
She is not downloading torrents or anything.
She only uses Firefox and a few open tabs as people do.
Skype is open.
Wireless internet connection.
I am thinking either Ubuntu is updating more or less constantly or the ports/connections aren't closed "after use".
View 7 Replies
View Related
May 8, 2010
Does any body know how to enable ports in ubuntu 10.04?
View 2 Replies
View Related
May 12, 2010
I'm trying to VPN in somewhere and it doesn't like any outbound connections. I'm doing this for RDP, so can I somehow restrict the VPN connection to only be using the RDP port?
View 1 Replies
View Related
Jun 12, 2010
I dont know how, but somehow all the ports on my comp appear to be blocked except for 24, for ssh and 5900 unknown. I can connect to the network, but as far as I can tell, I'm powerless to do anything. No webpages load, I'm typing this on my phone.
View 1 Replies
View Related
Aug 12, 2010
I have ssh running on port 22 and that is the only thing I want in/out of this particular box (ssh, scp).But when I use iptables to set the default policies for INPUT, FORWARD, and OUTPUT to DROP and then allow 22:
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 22 -j ACCEPT
ssh stops working.
View 2 Replies
View Related
Dec 16, 2010
I was following the directions over on the page How to watch Hulu overseas without a proxy server and got to the section about blocking ports, which I need to block port 1935. I figured this would be easy, as the mac instructions are
Code:
sudo ipfw add 0 deny tcp from any to any 1935
sudo ipfw add 0 deny udp from any to any 1935
and the Windows instructions are practically a book in itself. Since this page was lacking instructions on how to do it in Ubuntu, and ipfw seemingly doesn't exist in Ubuntu, how do I block the ports
View 2 Replies
View Related
Apr 5, 2011
I'm trying to open my ports all the way, but for some reason, I am unable to do so. I've forwarded the ports I want open in my router (I switched between two routers to make sure), I made exceptions in Firestarter, and I even added UFW rules, but when I use pretty much any and every port checking tool out there, the ports eithere back stealthed or closed.I'm not a complete noob, and I'm not an expert, but I'm p sure I'm doing everything right, seeing as there isn't much to screw up.The reason I'm trying to fully open these ports is because I'm getting this dumb 'No Incoming Connections
View 3 Replies
View Related
May 14, 2009
Since there was no response on my other post which i spent about a hour writing, ill go for something simpler. I run this on my server
Code:
# set default policy for the NAT table
iptables -t nat -P PREROUTING ACCEPT
[code]...
View 9 Replies
View Related