Ubuntu Networking :: Server With Both NICs Enabled Breaks Internet Connection?

Nov 25, 2010

I have installed Ubuntu 64 10.04 server. I have two nics and have set them up to both be static with their own IP with the correct gateway, network, broadcast, subnet and dns-nameserver. When I have both enabled, I can ping local pc's but I can't ping Internet sites like Google nor can I get out to the Internet with apt-get or Lynx.

If I disable one, then I am able to get out to the Internet. All my configs look good, and it does not matter which one I disable, just so long as there is only one NIC on, everything is good.

View 1 Replies


Networking :: Confused With Two NICs, No Internet When Both Are Enabled?

Jul 14, 2011

I have been looking for a solution for this but am not certain how to word it to get a viable answer.My scenario:

Win7/Ubuntu 11.04
eth0 gateway+dns:


View 9 Replies View Related

Networking :: Share An Internet Connection From A Computer With Two NICs ?

Feb 24, 2010

Im posting after reading through a lot of articles explaining the same thing on how to share an internet connection from a computer with two NICs.

I have the following simple setup

When I first followed this guide

I was able to ping between the GW and a client on the LAN but couldn't access the internet from it. So I started to configure different things to get it to work which failed.

Now I can't ping between GW and the LAN. I tried to follow the same guide over again and even flushing the tables but still...

These are my current settings (without any chains).

(this client also has a wireless connection displayed in 'ifconfig')

View 1 Replies View Related

Networking :: No Internet Connection When Firewall (UFW) Enabled

Jul 6, 2010

When I enable my ufw it completely shuts me out and I have no internet connection. When I do:

sudo ufw status numbered
I get:
Status: active

To Action From
-- ------ ----
[ 1] 80 ALLOW IN Anywhere
[ 2] 80 ALLOW OUT Anywhere (out)

But I need to disable my ufw in order to reconnect back to the internet. Why is that? Doesn't the above rules indicate that I should have inbound and outbound traffic even if my firewall is up?

View 5 Replies View Related

Ubuntu Networking :: Share Wired Internet Connection To WiFi Enabled Android

Sep 30, 2010

I've been reading around, but not had much success at all in trying to share the internet connection from my laptop to my phone.all the articles i read refer to earlier versions of Ubuntu and the packages they mention have become obsolete, according to the apt-get tool.im not that new to Linux, but my networking probably isn't up to scratch.if anyone could help me, that would be great, im using Ubuntu 10.04 at the time of writing.

View 2 Replies View Related

Ubuntu Networking :: 2 NICs, Server Won't Respond To Requests But Internet Works

Apr 16, 2010

I recently set up a new web/file server with 9.10 server x64 with 2 NICs and I am trying to configure eth0 to respond to my LAN for internal samba filesharing and eth1 to handle website/ftp requests on my static IP, but whenever eth0 is up the server is not accessible at 173.XX.165.65 for web or ftp but both work fine at When eth0 is down, public IP works fine. I have set /etc/network/interfaces like this:

# The primary network interface
auto eth0
iface eth0 inet static


View 1 Replies View Related

Fedora Security :: 2 Nics Internet Connection Sharing ?

Feb 2, 2010

I have several Proxy severs set up at our business. I always do the same basic config, except for my version of Fedora (I always grab the newest).

I put 2 nics in a machine Load Squid, Dansguardian and Firestarter. I use Firestarter to direct the surfing traffic from my LAN out a cable modem that I have for each store. This lessons the bandwidth on the T1.

Easy enough. My problem is Firestarter has always been a little flaky. But as of F11 the gui wont stay up for more than a few minutes at a time. It still functions, but you have to be quick if your going to use it because it will inevitable crash.

So I suppose it's time to start doing this the correct way and using IP Tables. Does anybody have a resource they can point me to that will help me understand how to do this? It looks like this might be as simple as setting it up with the GUI Firewall tool that comes with F12 but I'm still not exactly sure how.

View 6 Replies View Related

Ubuntu :: Internet Connection Breaks When Idle?

Aug 9, 2010

I ve been a loyal fan of RedHat Linux for last 5 years.I switched to Ubuntu just few days back.Let me tell you, I ve already started loving it.However I m facing few issues while downloading from the Net.While downloading some softwares from the net using 'Package Manager' or 'BitTorrent Client' or directly through Firefox, I m getting the following error if my computer remains Idle for around 20-30 minutes.Error Says, Check your internet Connectivity'.I then need to Redial to connect to Internet.I never faced this issue in RedHat or Windows.I use to put my machine to download for the entire night and never faced connectivity problem.Where as if the computer is not idle and I m hitting keyboard keys, the download happens smoothly.It seems like some thread is checking my status. and if my status is Idle its disconnecting the net

View 2 Replies View Related

Fedora :: FC12 - DHClient Breaks My Internet Connection

Mar 17, 2010

Latest FC12 update included dhclient-4.1.1-9.fc12 which fails to configure eth0 after restarting the computer. Had to remove/downgrade to 4.1.0* (and reinstall dracut and NetworkManager(-glib)). There is no config file in /etc/dhcp/dhclient.d so I don't know how to reset dhcp/eth0 to connect. Thought some one smarter than me might have noticed this by now and worked out a solution. Can't tell that anything in Bugzilla sounds like my problem. Might only be x86_64 or KDE-4.4 problem as my 32-bit Gnome install is not affected. Easy enough to grab the rpms, just annoying. Still haven't learned how to keep a package at version x.x with Fedora yet but that's another topic.

View 3 Replies View Related

Ubuntu :: Autostart A Script AFTER NICs Are Enabled?

Jan 10, 2011

I have a script that I need to run on boot which requires my network interfaces to be already setup when it runs. On an old P4 test machine (all machines in question are running server 10.10) I have to add "sleep 1" in front of my script to get this to work. My application is boot-speed sensitive but I'm alright with this.

What I'm not alright with, and don't understand, is when I move the script to my Atom D510 platform I have to bump up to "sleep 9" to get it to work reliably but even as low as "sleep 5" works on occasion. I have been using both /etc/init.d and an @reboot command inside /etc/crontab with similar results.I don't understand why I have to sleep so much longer on the Atom (everything else aside they both boot in about the same amount of time) and I don't understand why the duration I have to sleep on the Atom is not stable.Is there any way I can get a more fine grained control of when my script executes (ie as soon as possible after the network interfaces are started)?

View 4 Replies View Related

Networking :: Configure 2 NICs To Share Internet

Mar 22, 2010

I am really bothered from this I cant configure the 2 nics to share the internet and I already changed the sysctl.conf file to
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
I have one nic reeving the internet and working good and the other one cant see anything...

View 12 Replies View Related

Fedora Networking :: Dual NICs And Internet Connectivity On F10

Apr 23, 2009

I've just installed Fedora 10 to basically work as a NAS for another machine - but also serve a couple of web pages. After having alot of issues with network manager (with it changing the subnet so nothing would work), I'm now almost there:

I have two network cards connected in the server:
1) eth0 connects to a switch that ultimately connects it to the net (on a 10.0.0.* network)
2) eth1 connects directly into another server for backups (192.168.0.* network).

Now when I setup eth0, I get network access can ping/ update/ surf the net - absolutely no problems, but when I connect eth1 in - the net dies and nothing works, I can ping devices on both the 10.0.* and 192.168.* networks, just nothing past the gateway. I presume this is either a route or DNS issue, but am unsure about where its falling foul - both the resolv.conf file looks fine as do the ifcfg-ethx scripts.

View 1 Replies View Related

Networking :: Setup 2 NICs With Access To Internet With 1 Gateway

Sep 13, 2009

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 ?

View 1 Replies View Related

Networking :: Breaks In Fedora - No Internet

Oct 21, 2010

Another weird one I think. I have two integrated LAN's on the MB. All was OK in Windows and figured I'd do some work in Fedora 13. When I got there I had no internet. I messed around trying to get it working and gave up; went into Ubuntu; same deal. I booted Windows and the same; no network. I tried the other integrated connection and it worked. No way could I get the other nic to work so I tried shutting right down; pulled the plug; waited a few seconds; plugged it back and booted up and it's working again. Now I'm leery about going into Fedora. Anyone else have this problem. I think it happened to me once bofore and I thought my nic had bit the dust and plugged into the other connection?

View 2 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 - internal "net1"
eth2 - 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

Ubuntu Networking :: Connman Installation Breaks Ethernet Connection

May 16, 2011

I was browsing the available packages to install the weather indicator and noticed that a network indicator was available. apt-get said that it needed to install 'connman' and remove 'network-manager' and 'network-manager-gnome' in order to install the network indicator. I foolishly assumed it knew what it was doing so I went ahead and performed the installation/removal and restarted the computer.

Now I cannot connect to the internet. I only have an ethernet card for connection to the internet, no wireless or otherwise. The configuration I use is not DHCP, but a manual settings of address/subnet/gateway and name servers

When I try to set the network values through the network indicator some of them do not stay set. The gateway value appears to be set, but then after closing down the indicator window completely it comes up with the value 'Modified'. The DNS servers is the only other value that does not stay set, but it only changes to be blank. The connection never works.

So, I downloaded 'network-manager' and 'network-manager-gnome' on another computer, transferred the packages by USB, and reinstalled them (uninstalling connman and the network indicator). But the network connection remains broken. At least with 'network-manager-gnome' the values I set stay set, they just don't work anymore. I've tried editing /etc/network/interfaces to previously working values directly, but they do not seem to have any effect either. The connection no longer works.

I really do not care if I use the network indicator or not at this point, I simply want the network connection to work properly.

Edit: I realize I forgot to say that I'm using Ubuntu 11.04 (upgraded from 10.10). The network card is the "Integrated Broadcom 57780 Gigabit Ethernet controller".

View 2 Replies View Related

Networking :: Bonded NICs At Host OS - Ubuntu Server - Bridged To Virtual OS - UServ - In VMware Server

Jul 19, 2009

Just something that struck me while working on our virtual servers today.

I have bonded 3 NICs at the host in Ubuntu Server 8.04 LTS. They are using mode 0 for Round-robin. Point is to increase the speed/performance of all the servers, but mainly the fileserver. The fileserver is a virtual server running Ubuntu Server 8.04 LTS on VMware Server 2.0.

1) I noticed the NIC in the slave OS reported link speed as 1000 and Im unable to change it as the NIC (virtual one) doesnt support it. Does this not really matter, as the NIC doesnt exist, and it will run at higher speeds anyway? Or do I have to remove the bond on the host, bridge all 3 interfaces from the host to the slave OS, and then make a bond in the slave OS?

2) While at it, does mode 0 only increase performance on data being sent from the host or does it also increase the available incoming bandwidth?

View 1 Replies View Related

Ubuntu Networking :: Use Internet Connection From LAN To Share Internet Connection Through Wireless?

Jan 9, 2011

I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.

View 3 Replies View Related

Ubuntu Networking :: Internet Connection In 8.04 Server Edition - Destination Host Unreachable

Jun 8, 2010

i have a problem with my internet connection in ubuntu 8.04 server edition. if i ping to: [URL]... i get: Destination Host Unreachable but when i ping to my gateway or other pc's in my network no problems occur.

View 9 Replies View Related

Ubuntu Networking :: Internet Connection Sharing In Network Manager / No DHCP Server

Oct 14, 2010

How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.

View 3 Replies View Related

Ubuntu Networking :: Setup A Proxy Server Who Just Redirect The Internet Connection To My Second Computer?

Jan 9, 2011

I want to settup a proxy server who just redirect the internet connection to my second computer. I try Squid Proxy but its too complicated for me. Can you sugest me another more simple program to do what i want?

View 1 Replies View Related

Fedora Networking :: F11: Ethernet Is Enabled But Can't Make A Connection?

Jun 27, 2009

I just fresh installed Fedora 11, and tried to connect via ethernet. I connected the cable and connection was started (in the network managed the two gray circled turned green) but then instead of connecting me the connection was aborted. I am behind a router if it helps and made sure eth0 is enabled. PS this is the output of "service network start":


[root@Gal-PC subsys]# service network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:


View 5 Replies View Related

Networking :: Sharing Internet Connection To Thin Client From RHEL Server 5

Sep 22, 2010

plz can any one help me in configuring linux server 5.0 to share the internet connection to thinclient and the steps reqiure at client side and server

View 2 Replies View Related

Ubuntu Networking :: Wired Connection - Can't Connect - Dhcp Enabled Automatically

Jun 20, 2010

Since that time I moved to Archlinux and I love it. I do however run lubuntu live from a USB for my work PC. I am having a problem with it. I think it's okay to post here because the core of the system is still Ubuntu. I don't think LXDE is the problem. I start up the live environment and it says 'wired connection connected' but I can not load any pages or do anything.

I thought it may be a problem with configuration so I copied down (from Windows) the IP, Subnet, Gateway and DNS. I put them in manually and it doesn't say connected any more and still no connection at all. I am unsure what to do from here. I am not really familiar with Ubuntu enough to try much. I tried to 'dhcpcd eth0' but dhcpcd isn't installed. I guess the default Ubuntu network manager has dhcp enabled automatically.

View 9 Replies View Related

Ubuntu Networking :: Lost Internet Connection - Firefox Displays Server Not Found Page

Apr 6, 2011

I have been using ubuntu netbook 10.10 on my Dell Mini 9 for the past few month without any problem; it connects wirelessly to the internet via a wireless router. Yesterday in the middle of web surfing, suddently firefox cannot see any website outside of my home network (Firefox displays Server not found page). No help when I rebooted a few times and connect to my home network via wireless or even wire cable; it can access files in my network file server (DNS-321) but not the internet. My desktop computer running Windows Vista and ASUS media player has no problem accessing the internet.

View 1 Replies View Related

Ubuntu Networking :: NICs On Clean Server Installation Not Working?

Aug 18, 2010

I have a clean installation of Ubuntu Server 10.04 x64 on an HP Proliant DL380 G3. It has two Broadcom NICs in addition to its ILO. During the installation, both NICs were listed... but neither was able to pull DHCP, nor did they function with manual settings. The first NIC is currently connected and is known good. So I left it alone and figured I'd troubleshoot it later (which is now). This server is going to be a VMware Server host. I wanted to install ESXi on it, but it doesn't like the old server's cheap ICH RAID controller.


I noticed here it says they're disabled. so I thought perhaps this was a 64-bit driver issue. So, I booted my trusty Ubuntu desktop 10.04 32-bit live cd, and the NIC works fine. Now, here's where it gets weird. Seeing that, I booted it to Ubuntu server 10.04 32-bit installation from a flash drive, expecting to see the NICs working fine during the installation.

View 2 Replies View Related

Fedora Networking :: Routing: 2 HW-Routers, 2 Nics On 1 Server?

Mar 19, 2011

i have a Server, which has 2 nics installed. Each of those is connected to a router, which is connected to internet. On the server, i have apache, maillserver and im-server running. On the other hand, also squid, dansguardian and clam are running. so now: via eth0 i would like to have just the traffic, which is requested from outside (the big bad internet..) to my server (apache, mail, etc). via eth1 i would like to have all OUTGOING (also to the big bad internet) from the server, which is requested by a internal client. And of course all requests to my own server

both nics shall route their traffic to their own router. For better comprehension please consult the enclosed graph. Until now, i did not find a good solution, the default route is set to the traffic from eth0, if not, no external request will find back to a client do you have a idea how to handle this the easiest way?

View 4 Replies View Related

CentOS 5 Networking :: Configuring DHCP Server With Two NICs?

Mar 31, 2011

configuring DHCP server with two NICs. I need DHCP server with 2 NICs:

eth1 -
eth2 -

The client also has two NICs and suppose to receive ip addresses eth1 from and eth2 from Here is the dhcpd.conf from dhcp server:

ddns-update-style interim;
ignore client-updates;


View 2 Replies View Related

Networking :: Configuring 2 Nics To Talk To Two Different Subnets On A Sles10sp3 Server?

Nov 27, 2009

I am trying to setup a HP blade (BL460) server with 2 nics on sles10sp3. I want one nic to connect to a management vlan and and second to connect to the standard network. It should be possible for a desktop in the standard network to connect to either nic by providing the correct ip address.use this server as our first virtualisation hosts server using Xen. I dont want traffic used to upload / download images to the server through nic1 to effect the users traffic on the standard network on nic2. However any attempt at routing (which Im not good at) has led to the tx traffic all going out the default route (users subnet).

Each time I setup the nics via yast2 lan I can get the standard lan nic working ok. but cannot get the management nic working correctly. The server can ping a workstation on another vlan, but the workstation cannot ping the management nic. The default route appears to be forcing all traffic on the host out through this route, which I presume is normal behaviour. Using tcpdump I can see the ping packets received by the server, the server then responds through the default gateway, which the workstation does not see.

However, this normal behaviour will result in extra traffic on the users network when image downloads are initiated from the management interface.If I use a network routed through router setup as our management vlan , and with router as our lan for general users. Where server ips are nic1 and nic2 My workstation would be If I ping the server at
I get no response. If I ping the server at no problem.

Basically I used the network setup recommended by vmware to manage a virtual server. I actually have 4 nics, I thought by just talking about 2 nics the problem would be easier to explain. vmware specify that two nics should be used for management and two for the Lan. This is what I am trying to achieve, but both subnets must operate independently.

View 3 Replies View Related

Ubuntu Networking :: Wireless Network Connection Active But Still Not Internet Connection?

Jan 24, 2010

Its a case of ".... wireless network connection active but still not internet connection .."I am using WEP - 128 key ... Works when I connect directly using ethernet cable ... but not wireless (pci and wireless router)

ubuadmin@ubucomputer:~$ ifconfig

wlan0 Link encap:Ethernet HWaddr 00:06:25:12:83:3b
inet addr: Bcast: Mask:
inet6 addr: fe80::206:25ff:fe12:833b/64 Scope:Link[code].....

View 5 Replies View Related

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