Ubuntu Networking :: Two Interfaces In One Host?

Feb 6, 2011

I have a laptop "fura1" with two interfaces, eth0 (Ethernet) and eth1 (wifi), which I assign IPs 192.168.1.10 and 192.168.1.11 respectively. Then a desktop "fura2" with only one interface eth0 (Ethernet). Both are connected to a local network along with other appliances. My doubts arise on how to configure the /etc/hosts file of the desktop "fura2" taking in account that "fura1" has two interfaces, so two IP, but, obviously, only one hostname.

My first attempt for /etc/hosts of "fura2" was:

127.0.0.1localhost
127.0.1.1fura2
192.168.1.10 fura1 fura1.workgroup
192.168.1.11 fura1 fura1.workgroup
192.168.1.102 PDA PDA.workgroup
192.168.1.103 MT MT.workgroup

But it seems to my that assigning two different IPs to the same host is not a good solution. On the other hand, if I give different name to each interface, I will got a host with two hostname (?).

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: ADVISEADDR: Error In Specifying Interfaces: No Existing Ip Interfaces Found

Jan 7, 2010

I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.

It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"

Code:

ADVISEADDR:error in specifying interfaces: no existing ip interfaces found

#lspci

Code:

04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network

[code].....

View 5 Replies View Related

Ubuntu Networking :: Adding Interfaces To /etc/network/interfaces?

Apr 16, 2010

If I try to add a new interface (eth1) to /etc/network/interfaces, I get

Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

How do I add 2 interfaces and get anyone of them to work, as available ?

View 5 Replies View Related

Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?

Jan 25, 2010

I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:

Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255

View 12 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

Ubuntu Networking :: Host Able To Ssh To FreeBSD Host?

May 19, 2010

So here's the setup:

Ubuntu 10.04 host inbound port 22 open
FreeBSD 8.0 host no inbound ports open

Both hosts are running sshd currently. What would you do for the Ubuntu host to be able to ssh to the FreeBSD host? A tunnel?

View 6 Replies View Related

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

Ubuntu Networking :: Startup Networking Automatically Using /etc/network/interfaces

Jul 2, 2010

I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.

[Code]....

eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.

[Code]....

View 1 Replies View Related

Ubuntu Networking :: No Networking Interfaces Working

Jul 28, 2011

I installed the latest release of Kubuntu on to my dell laptop about 3 days ago, I fell asleep last night and woke up to my laptop not being connected to my wireless(it was when I fell asleep, it didnt reboot or anything overnight an dno one touched it), so I plugged in an ethernet cable and it still did not detect an internet connection, then finally it connected through my phones mobile internet via Usb.

However none of the built in networking devices are working, I have them all enabled.My WLAN Interface says "Unmanaged" and Networking interface complains the cable is unplugged even when it is not.I know you guys will need some additional info from me to help me.I just used my mobile broadband to install Wicd network manager but thats just a temporary fix, as it doesnt fix my ethernet issue and I want to be able to use the network manager itself to manage my networks.

View 2 Replies View Related

Ubuntu Networking :: Why Create Sub Interfaces?

Oct 31, 2010

What is the use of creating sub interfaces, for example eth0.1 etc. can someone please give an example of a situation where it would be useful

View 3 Replies View Related

Networking :: Got Two Interfaces With Same Mac?

May 6, 2011

I'm testing some network setups, and bought two dirt-cheap USB network interfaces. My plan was to attach these two to an embedded device (sheevaplug) and mess with firewall setups. However, the two interfaces are absolutely identical; they have the same MAC, and lsusb -v is the same for both, line by line (except for device number, which tells the order the devices are plugged in, I believe?). Also, this is a single usb bus (single port, with a hub).

Now, obviously I can't make much of a firewall setup if I can't tell the interfaces apart. I realize I probably hit a brick wall, but does anyone have thoughts on this?

View 4 Replies View Related

Ubuntu Networking :: Set Up Two Network Interfaces In Laptop

Jan 16, 2010

I am currently trying to set up two network interfaces in my laptop. The wireless connection wlan0 works fine and it's the one that I use to connect the internet. It's in the range of 192.168.0.x/24 (gateway: 192.168.0.1). The wired interface eth0 is connect to another router (gateway: 10.0.0.13 with IPs in the range of 10.0.0.x/24. The router is set up to work as an AP and the 10.0.0.x network will only be used to control a robot, so no internet access will be required in this network. The problem is that when I have both connections up, I can't access the Internet anymore. I can still ping both routers, I can enter both routers configuration pages but I can't connect to the Internet. If I unplug the network cable, Internet gets accessible again.

I'm still a novice in linux and I can't figure out how to fix this. I don't want to get into static ip for the wireless connection since I'm constantly using the laptop in different places. The objective is to use the 10.0.0.x router to have a development platform for the robot that can be used anywhere without having to reconfigure the robot for a new network, which is a real pain.

In detail, the laptop connects via wireless to the network with intenet (192.168.0.x) and also connects via cable to another wireless router(10.0.0.x). The wireless connection of the second router is used to connect to the robot. Since I can ping both routers when they're both connected, I think it may be something related to the ip routes. I'm using Ubuntu 9.10 with kernel 2.6.31-17-generic

[Code]....

View 8 Replies View Related

Ubuntu Networking :: Share Internet Between Two Interfaces?

Oct 17, 2010

For a very special project, many hardware issues, unusual limitations, etc, I'm turning my ubuntu into an access point (temporarily) by sharing the Internet from one device to another. I found out that with the devices I'm using, this can't be done with the network manager.

I need to get the internet from a device called 'tun0', to my 'wlan0', so it can broadcast it as a very special access point. I've read that there are ways to do this with the terminal.

View 2 Replies View Related

Ubuntu Networking :: Why Etc/network/interfaces Does Not Contain Eth0

Jan 1, 2011

So far as my knowledge goes, /etc/network/interfaces is supposed to contain a list of all the available interfaces. But my /etc/network/interfaces looks like this,auto loiface lo inet loopbackBut I have a perfectly working eth0 connection. Why does not it appear here?

View 9 Replies View Related

Ubuntu Networking :: Why Won't Wireshark Show Any Interfaces In

Apr 27, 2011

I installed Wireshark 1.2.7 on my Lenovo X61 tablet PC running Ubuntu 10.04 lucid during the quest for a decent signal strength meter for available wifi access points. What is a good software or hardware method to TEST WiFi strength & power?But I can't get Wireshark to do the simplest thing, which is to "Capture Interfaces".

View 9 Replies View Related

Ubuntu Networking :: Fixing Network Interfaces

May 27, 2011

I accidentally killed the dhclient processes. I am unable to access the Internet wirelessly or with Ethernet. It's a little irritating because now I have to post this using my phone. I'm looking for a way to reformat the network files to how they looked when I first installed ubuntu. I don't know quite what these are, or really anything about it.

The /etc/network/interfaces file has the following information:

I'm pretty sure there's supposed to be more.

iwconfig typed into the terminal gives me this:

According to lshw, the logical name for my Ethernet interface is eth1. I think it used to be eth0. It's an 88E8055 PCI-E Gigabit Ethernet Controller.

The wireless interface has logical name wlan1. I think this used to be wlan0. It's a PRO/Wireless 3945ABG [Golan] Network Connection. The driver is iwl3945 - [phy0]

View 3 Replies View Related

Networking :: Ubuntu 10.04 - 2 Interfaces Same Gateway Setting

Aug 4, 2010

I recently upgraded an Ubuntu 8.04 server to 10.04 server. My previous configuration had two network interfaces both routed to the same LAN with the same gateway. This functioned for me so as to support different services on each interface, such as http and smb on one, torrents on another. This routed fine in 8.04 (routing table below). Once I upgraded to 10.04, any packets that traveled beyond the LAN did not return. I checked and there is no local firewall running. Thinking that this was strange I set up a virtual machine and tested it in a different environment at work (and also with a virtual firewall configuration) with the same results.

I also tested several other current operating systems, including Debian 5.04 and Open Solaris 9, all of which routed two interfaces with the same gateway fine. I rolled back from 10.04 to 9.10 and the problem persists, so the change exits also between 8.04 and 9.10. at least identify what is unique to Unbuntu 9.10 and above that is preventing having two interfaces with the same gateway, something that other operating systems do not seem to have trouble with?

[Code]...

View 1 Replies View Related

Networking :: Configuring With Two HW Interfaces?

Oct 16, 2010

I have two interfaces, gprs0 and gprs1, both connected to the Internet from the same HW device, but through two different access points I just read another blog entry with a guy who had two network cards, using one as a back up - I guess this is a little similar, but should be much easier I am guessing - I am just lost Using ifconfig (IP address given by the network) and route to setup the connection,

ifconfig gprs0 10.20.30.40 up
route add default dev gprs0
ping 66.102.7.99 works fine
afterwards

[code]....

There is data being transmitted and received to device again, I guess the kernel just doesn't know where the incoming data should go without the correct routing tables? Or what exactly is going on?The question I have is how do I configure the device to do the correct routing, using only the ifconfig and route commands? Maybe too trivial for you guys, but I am getting tired of goofing around not knowing what is up and down anymore

View 1 Replies View Related

Ubuntu Networking :: Set The IP In The /etc/network/interfaces File And Reboot?

Jan 20, 2010

DSL modem is a Speedstream 6520 router. All computers work fine via dhcp. I'm trying to setup a small server (print server, ssh & ftp servers). I understand enough of the software part of things to get it going, my problem is setting a static IP on the server box. Every time I set the IP in the /etc/network/interfaces file and reboot, I have no network connection. I can talk to the modem through the browser, but nothing beyond that, not even local computers.

/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.254.202
network 192.168.254.0
netmask 255.255.255.0
gateway 192.168.254.254

ifconfig shows the .202 address, but box can't get to the outside world, and can't ssh into the box from a computer sitting next to it. If I let it dhcp, then I can ssh into it, and have access to the internet. In the modem, I have dmz set for that address. Wan address is static. I can ssh into it if I let it do dhcp, so I know it can work that far. But if I set static ip, I might as well pull the network cable. I've been beating my head on this for over a week, and I'm lost why I can't get it to work. I even changed the dhcp range on the modem, so the .202 is not in that range. There is no dhcp client installed that I can find. I'm using WattOS beta3, which is a light distro based on 9.04. The computer is an old Dell GX150, integrated nic. I have done ifdown and ifup eth0, still no happiness. Doesn't seem like it should be that hard, but I'm stumped. DMZ should let everything pass, so don't need to mess with port forwarding and such. I know it works using dhcp.

View 2 Replies View Related

Ubuntu Networking :: Getting Dynamic Ip Addresses For Multiple Interfaces?

May 6, 2010

I have 4 Ethernet Interfaces. I need Dynamic IP-Addresses for 2 Interfaces. Can anybody help me how can i achieve that

View 3 Replies View Related

Ubuntu Networking :: Create Sub Interfaces But Being Removed After Restart?

Sep 18, 2010

When I create eth0:1 sub interface after restart it is not there anymore. how to properly set a new interface with ip address and make it permanent

View 1 Replies View Related

Ubuntu Networking :: /etc/network/interfaces Not Booting On Startup?

Sep 23, 2010

When I boot into Ubuntu with the Xfce desktop then proceed to terminal to check my IP it is always some random IP as provided via DHCP by the router. If I then go to the cmdline and type sudo /etc/init.d/networking restart then the wifi correctly connects to the router to the one static network address that I have specifically provided for it - as stated in my interfaces file. Why is this not happening on startup?

View 2 Replies View Related

Ubuntu Networking :: Default Routes For Specific Interfaces?

Oct 15, 2010

I've got a 10.04 machine with two ethernet interfaces. I have two separate outside internet connections. This machine is connected to both interfaces. But it DOES NOT route between them. It's just a host on both subnets. Again, no routing is to go through this host. I'd like to force traffic originating on each ethernet port out to that network's internet connection.

Here's the desired setup:
eth0 192.168.12.37/24 gw 192.168.12.1
eth1 192.168.1.37/24 gw 192.168.1.1

I'd like traffic on the 192.168.1.37 address to go out through the 192.168.1.1 gateway. I have a program bound to that address and need it's traffic to go out ONLY through the 192.168.1.1 gateway. Any other traffic on the machine should go out the 192.168.12.1 gateway.

The logic is: source IP is 192.168.1.37, dest IP is any then go out only through 192.168.1.1 source IP is 192.168.12.37, dest IP is any then go out through 192.168.12.1 first or 192.168.1.1 next. The point is source on the .1.37 address must always go out the .1.1 gateway and NEVER through .12.1. Whereas traffic on the .12.37 address should try going out the .12.1 gateway first but can go out the .1.1 gateway if the .12.1 connection is down. I could live with this failover option. I could accept that traffic on the .12.37 address was likewise limited to its own gateway.

View 3 Replies View Related

Ubuntu Servers :: Messed Up Networking Interfaces File

Dec 25, 2010

For my router I need to change Ubuntu server from DHCP to static IP. So to do this I entered: Code: sudo vi /etc/network/interfaces ...and pushed the wrong buttons and exited the session suddenly by mistake. After learning how to use the vi editor I went back but I got a notice that the the last session didn't close properly and that a "swap" file had been created. Anyway, I entered my static IP info, saved the file, and attempted to restart with:

Code: sudo /etc/init.d/networking restart Restart failed and I got a notice that I should delete the /etc/network/interfaces.swp file so I did. Tried to restart again and, didn't get the .swp file conflict message this time, but failed again - this time I got the following message:

[Code]....

View 2 Replies View Related

Ubuntu Networking :: Multiple Interfaces In Network Manager Have The Same Name

Apr 7, 2011

I have a problem where multiple interfaces in my network manager have the same name. This means that I am unable to have different settings for each interface. Here is my setup:

Ubuntu 10.04 LTS
uname -a: Linux muon 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
Adapter 1: 02:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)

Adapter 2: HTC Desire tethered via USB. When I start from scratch, with no remembered networks in the network manager, the Ethernet is shown as "Auto Ethernet". When I then connect the HTC Desire, the new network is shown in the network manager also as "Auto Ethernet". Previously, when I right clicked on the network manager and selected "Edit Connections", there were multiple "Auto Ethernet" entries under the wired tab.

Now (and I do not know what changed, sorry), I only see one entry. When I edit this entry (say, add a route), then the route is added for both network interfaces. This used to still work, so I was not worried about the name clash, but now it is causing problems so I need to have a different name for each network interface.

View 1 Replies View Related

Ubuntu Networking :: Wrong Metric In Routes For 4 Interfaces

Apr 27, 2011

On a server with 4 network interfaces, sometimes not all 4 are plugged in. All 4 interfaces have the same IP address. Sometimes the machine cannot access the local LAN, but can access the internet via a router on the local LAN, after a reboot. What I find is that the routing table looks like this:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3
0.0.0.0 172.30.0.2 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.30.0.2 0.0.0.0 UG 2 0 0 eth1
0.0.0.0 172.30.0.2 0.0.0.0 UG 3 0 0 eth2
0.0.0.0 172.30.0.2 0.0.0.0 UG 4 0 0 eth3

On the console I cannot reach any local host, but I can reach internet hosts. Pinging the gateway router 172.30.0.2 gets no answer. When I manually change it to this:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.0.0 0.0.0.0 255.255.0.0 U 1 0 0 eth0
172.30.0.0 0.0.0.0 255.255.0.0 U 2 0 0 eth1
172.30.0.0 0.0.0.0 255.255.0.0 U 3 0 0 eth2
172.30.0.0 0.0.0.0 255.255.0.0 U 4 0 0 eth3
0.0.0.0 172.30.0.2 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.30.0.2 0.0.0.0 UG 2 0 0 eth1
0.0.0.0 172.30.0.2 0.0.0.0 UG 3 0 0 eth2
0.0.0.0 172.30.0.2 0.0.0.0 UG 4 0 0 eth3

Then all is well (can ping local hosts including the gateway router). I do have metric specified in the /etc/network/interfaces file like this:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 1

auto eth1
iface eth1 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 2

auto eth2
iface eth2 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 3

auto eth3
iface eth3 inet static
address 172.30.16.8
netmask 255.255.0.0
network 172.30.0.0
broadcast 172.30.255.255
metric 4

Apparently that metric setting applies only to the gateway route, not the LAN route. Is there a way to specify the LAN route metric, too?

View 1 Replies View Related

Ubuntu Networking :: Web Browser And Two Interfaces How To Manually Choose

May 30, 2011

I have wired connection Ethernet (eth0) and 3G connection GSM (ttyUSB0). Firefox uses eth0, but sometimes, I want Firefox to use ttyUSB0. How could I do that?

View 6 Replies View Related

Debian :: Connman Does Not See Networking Interfaces

Jun 24, 2011

I'm using Debian Squeeze with backports turned on and I've installed connman and it cannot see my wireless networking interface. I know my wireless card has a working driver because I have WICD on the same system and it connects just fine.I am using the Enlightenment desktop though and it only integrates with the connman wireless manager - so I would prefer to use this instead of WICD. Anyone have any ideas on how I can get connman working? What extra configuration needs to be done after installing?

I added my user to have the same permissions as root to the /etc/dbus-1/system.d/connman.conf file and I added my tiwlan0 to /etc/network/interfaces as a DHCP connection with no changes in functionality :-/. Been searching around online and reading man pages for the last couple days with no good results. Any input would be awesome!

View 5 Replies View Related

Networking :: 802.3ad Bonding Not Using All Interfaces Equally

Apr 14, 2011

I am seeing an issue on a few servers where it doesn't appear all NICs in the 802.3ad lag are all operating at the same level. A few of the servers have two bonds each with two NICs in each bond.I have two NFS servers that each has 1 bond with 3 NICs.All are RHEL5 x64 2.6.18.I think the reason why I see one interface dominating RX and another dominating TX is due to the xmit_hash_policy but there are three hosts that use this particular server for network traffic.That's 3 different physical mac addresses.The layer2 algorithm should be fine in that situation I would think.Would I just be better off with balance-rr?

View 3 Replies View Related







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