General :: Virtual Interface Usage - Two Ethernet Ports

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


ADVERTISEMENT

Ubuntu Networking :: User Interface Changed And It Defaulted To Ethernet And Now It Won't Letting To Go Back On Wireless - Disable Ethernet?

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

General :: Clear IP Address Of Ethernet Interface?

Jun 17, 2010

What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?

EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man

View 3 Replies View Related

General :: Ethernet Interface Not Found - Eth0

Jul 19, 2011

I booted an OS from a live CD. The OS boots successfully but eth0 fails to start. I checked lspci, it outputs these Ethernet card details:

(Broadcom Netextreme II BCM5716 GBabyte ethernet)

ifconfig -a returns only the loopback interfaces lo and sit0. The output of dmesg | grep -I 'eth' is:

"Netfront : initializing network ethernet driver"

When I run service network restart I get:

"Obtaining IP for lo [FAILED]
WARNING: Deprecated config gile /etc/modprobe.conf , all config files belong into /etc/modprobe.d/
Device eth0 does not seem to be present, delaying initialization [FAILED]"

The output of MII-tool -v is:

No MII interface found.

I was also able to find the kernel module bnx2.ko. I did insmod and lsmod lists it.

View 1 Replies View Related

General :: Decrease The CPU Usage When Running Virtual Box?

May 28, 2011

I am facing an issue with 100% CPU usage under my system when running VirtualBox. Here are some further details:

My System Information:

CPU 1 name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
CPU 1 level 1 cache size: 32K Data cache. 32K Instruction cache.
CPU 1 level 2 cache size: 1024K Unified cache.
CPU 1 Mips: 2926.20

[Code].....

Well, each time I run Windows XP from my VirtualBox, I see the CPU usage at almost 100%. I experience a slow system even if no programs were running on my hosted Windows XP version.

I was wondering if there is a way for me to play with the settings so I can slightly enhance the performance. My PC is relatively fast under my Linux operating system. I need to know if there are some tips that I may follow when configuring the settings of my VirtualBox so i can achieve better results.

View 1 Replies View Related

General :: Having A Virtual Ethernet Appear As A Real One?

Jan 7, 2011

know of a way in Linux to have a virtual ethernet (e.g., eth0:1) appear as a "real" ethernet (eth1)? I ask because I have an old Shuttle box that only has one mobo ethernet and no way to add more. I'd like to use it in my Oracle RAC lab, but RAC requires two physical ethernets. You can't fool it with eth0 and eth0:1. RAC won't setup correctly if there's only one eth adapter, so I'm wondering if there is a way to fake two ethernets. I do not care about performance or reliability - it's my home lab. I fully realize that this violates every principle of HA, but I'm just using it to study. Worst case, I can get a USB dongle ethernet adapter, but I'd prefer to avoid the cost if possible.

View 3 Replies View Related

Networking :: Outgoing Local Trafic Over Virtual Interface Has Not Virtual Ip Address

Aug 25, 2009

When I create virtual ethernet interface and do a ping -I <v_int> <host> the outgoing address is the one of the physical interface and NOT the virtual interface.Is there no chance that trafic will go out with virtual interface address??Incoming trafic is done well i.e. responds to the virtual interface have the virtual address.

My problem is that I have 2 modems and want to check both default gw behind the modems.
If I do a "normal" ping both are reachable over default route even the modem which is not the default route will not work because ping goes over the working modem.So I have 2 routing tables and want to route the virtual interface to one modem the other to the other modem

View 3 Replies View Related

General :: Missing Eth0 Ethernet Interface In Ubuntu — Can't Connect To Router

Aug 27, 2011

I'm having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router.

I'm able to connect to the Internet using this same cable using a Windows machine, so there's something wrong with the way Linux is configured.

How do I got about figuring out what the problem is and solving it?

Here are my network settings on Linux:

$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host

[Code].....

It looks like the network adapters list is empty. I will now install both Windows XP and Ubuntu Linux dual-boot. I'm still not able to access the internet, even through Windows. I'm wonder if this could be a hardware problem with the computer or a problem with the router itself. Other computers can connect to this same router, and work fine. (That's how I'm posting this after all!)

View 3 Replies View Related

Red Hat :: Add IPs To A Network Interface As Virtual Interface Like Eth0:0?

Apr 14, 2011

I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.

View 2 Replies View Related

General :: Virtual Interface Eth0 1 Disable At Boot Time

Feb 10, 2010

I have set 'ONBOOT=no' in interface script '/etc/sysconfig/network-scripts/ifcfg-eth0:2' but my interface bring up at boot time, what is the problem , I have checked it 3 or 4 diff os/machine but the same issue. Can anyone please help me to disable virtual IP's at boot time that network script make it up every boot time.

View 4 Replies View Related

Fedora :: Ethernet Ports When Restarting?

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

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 View Related

Debian Configuration :: 2 Ethernet Ports - One Not Being Picked Up?

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

Ubuntu Networking :: Routers Ethernet Ports Are All In Use And Can't Get One Of Them

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

Networking :: 2 Or More Ethernet Ports - How To Make The Alternate Work

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

Fedora Servers :: OpenVPN Setup On FC12 - Ethernet Ports?

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

OpenSUSE Network :: Computer With Two Ethernet Ports Share Internet?

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

Ubuntu Networking :: Ethernet Ports Not Working On Fresh Build

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

Ubuntu Networking :: Two Ethernet Ports And Share Internet Via A Switch

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

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 View Related

General :: Stop And Restart Ethernet Connection Ubuntu 9.10 - Ignoring Unknown Interface Eth0=eth0

Mar 8, 2010

If I uncheck and recheck "Enable Networking" in the Network Manager Applet 0.7.996 I would expect the wired network to disconnect (which it does) and reconnect (which it does NOT). So I tried sudo ifdown eth0 and got

Quote:

Ignoring unknown interface eth0=eth0.

ifconfig tells me

Quote:

eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

so I am at a loss. How do I stop and restart the network interface short of rebooting the machine?

View 9 Replies View Related

OpenSUSE Install :: Suse 10.3 Assigning Wrong Drivers To Ethernet Ports (e1000, E1000e)?

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

Networking :: Setting Up An Ethernet Interface?

Jun 4, 2010

I want to set up an ethernet interface using C language in Linux. Currently it is being done by :

system("/sbin/ifconfig eth1 192.168.0.29 up");

But I dont want to use the system call. Kindly suggest me any other way to do it..

View 1 Replies View Related

Networking :: Error On Ethernet Interface

Nov 2, 2010

I've a server with two NIC. Sometimes the server becomes unreacheable. When this happens, I did a reboot and then it works.. but when looking at the interface status (with ifconfig command), I've notice several "errors".So, I've tried to change NIC.. but the problem occurs again.I've also changed the port on the switch.

View 5 Replies View Related

Software :: Ethernet Interface Not Found

Jul 18, 2011

I booted an OS from live disk. The OS boots successfully but eth0 fails to start. I checked lspci , it outputs the exact ethernet card details :(Broadcom Netextreme II BCM5716 Gigabyte ethernet)

Ifconfig -a returns only loop back interface lo and sit0. The output of dmesg | grep -i 'eth' is :"Netfront : initializing network ethernet driver"

I was also able to find the kernel module bnx2.ko. I did insmod and lsmod lists it. I am not sure what exactly is the issue or how to debug this problem. Any assistance or pointer will be helpful. Thanks for your time.

View 4 Replies View Related

Fedora Networking :: How To Rename Ethernet Interface

Jun 20, 2011

I'm just installed Fedora 14 64-bits into a server which come with Multiple network interfaces, I'm found that the naming of each network interface is not in sequences in what I'm thought (e.g: the on board network interfaces name as Eth5 and Eth6, the additional card ethernet port name from Eth0 - Eth1 and etc). How to name the interfaces as what I wish to? What should I install to allow me to rename the interfaces.

View 2 Replies View Related

Red Hat / Fedora :: Ethernet Interface - Starting On Boot?

May 15, 2011

I recently installed Vortexbox, which includes fedora release 14.Got everything working, but could not access the network. After a bit of searching, found that "ifup eth0" activated the interface.To do this on boot, I have added this command, together with my "mount /dev/..." command in file /etc/rc.localIt works OK, but I cant help thinking there's a proper way of doing this?

View 4 Replies View Related

Programming :: Injecting Raw Ethernet Frames Using TAP Interface?

Apr 26, 2010

I have UDP packets generated on Machine A that are addressed to Machine B (unicast) that I capture with PCAP. After transporting this raw data to Machine B (via RF modem) I'm trying to reinject the original UDP on Machine B through a tap0 interface. The capture and transport are all working fine. BUT once on the destination machine, the reinjected ethernet packets are NOT being received by a local UDP server. this is my socket creation :

Code:

outputSocket = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
struct ifreq s_ifr;
strcpy(s_ifr.ifr_name, "tap0");

"data" is an unsigned char array that contains the original packet data received from pcap, which includes the ethernet header, ip header, udp header, and payload data. after the call to write() completes, Wireshark on Machine B sees a correctly formatted (checksums and all) UDP packet when listening to tap0 - ie. no lines highlighted in red. *BUT* - a UDP server i have running on Machine B never receives the reinjected UDP datagram. (I have verified that this server works, by using a simple local udp generator app.) is there something wrong with how I'm creating the socket and/or writing the data back out to the tap0?

View 1 Replies View Related

Ubuntu Networking :: PC Router Between Wireless And Ethernet Interface

Sep 2, 2010

I tried to setup a connection as below but face some problem (probably route table setting incorrect). Hope if anyone could shed the light.Basically, I have a PC1 (.1) and PC2 (.130) connected via a PC router. PC router has 2 interfaces: wireless (.2) and ethernet (.129). PC1 connects to PC router via LAN cable/wireless interface, while PC2 connects to PC router via cable. This settings try to simulate 1 wireless connection along the path (and because PC2 is too old to support wireless interface, we need a PC router). These interfaces are all under same 172.16.130.x subnet.

View 3 Replies View Related

Ubuntu Networking :: Create 'Ethernet-over-IP'(or Tunnel) Interface?

Nov 28, 2010

I'm trying to create EoIP interface on ubuntu so i can create a simple tunnel to my mikrotik router. Is there anyone know how or even done that? If EoIP is not possible, is there any other simple way?

I had already read and thought about doing it with OpenVPN, but when I read the community documentation for OpenVPN on ubuntu 10.10, I fear it won't connect the tunnel to mikrotik OpenVPN server, since OpenVPN on ubuntu uses 2 certificate and 2 key files(as i read on the docs), but mikrotik configuration, i can see only 1 certificate can be applied on. This confuses me and make me decide to use EoIP(but i can't find any tutorial/docs about it). I don't actually need the encryption and security, i just need to create a tunnel for ubuntu and mikrotik.

View 2 Replies View Related







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