Ubuntu Networking :: What's Relationship Between Ethx And Physical Net Cards
Apr 8, 2011
Do you know what's relationship between ethx and physical net cards? such as i have three net cards in the PC, named A, B, C. In which config file i could know that eth0 -> A, eth1 -> B, and eth2 -> C. Would the mapping relationship change after reboot? Is there any method i could change the mapping?
View 5 Replies
ADVERTISEMENT
Jun 2, 2010
I have a strange problem regarding networking on the Alix 2d13 running Ubuntu 10.04. The Alix has 3 physical network interfaces, lspci says:
Code:
00:09.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
Kernel driver in use: via-rhine
Kernel modules: via-rhine
00:0a.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
Kernel driver in use: via-rhine
Kernel modules: via-rhine
[Code]...
It seems, if more than one cable is connected, a random hardware port is chosen as eth0-eth2. If only one cable is connected the port that is connected is chosen as eth0-eth2. Any idea what's going wrong here?
View 2 Replies
View Related
Jun 3, 2010
I'm having an issue with dual networking on RHEL 5. My initial question is can the order the ethx (0,1) devices are brought up be changed at boot time, so I could bring up eth1 before eth0?
Some background: eth0 is DHCP'd and using DNS, basically this is my primary network. eth1 is an isolated subnet, with a manually configured IP which has no connection to eth0 or the outside world. When I bring up networking it first brings up eth0 and then eth1, what happens is eth1 becomes the 'primary' network of the host and I lose my connection to DNS/NFS/NIS and the outside world.
If I login and manually bring up eth1 first, then eth0 everyone is happy and connections work. So, I'm looking for a solution to either bring up eth1 before eth0 or somehow make eth0 my primary IP and not have it be clobbered by eth1.
View 2 Replies
View Related
Dec 1, 2010
I have a dns server started with 2 NIC Cards in it. The bios sees both cards but they both dont show in ifconfig. is there a way to activate the second card?
View 1 Replies
View Related
Jul 1, 2010
I'm a relatively inexperienced with Linux, coming from a Windows background, and I struggling to solve a troublesome issue attempting to set a static ip address to a Live Debian USB Key. I know it is possible to utilise the 'ifconfig' function to set a static ip address and use 'route' to set the gateway, e.g.
ifconfig eth0 10.0.0.40 up
route add default gw 10.0.0.130 eth0
..however in both cases I need to explicitly set the 'eth0' to point at the appropriate adapter. However, this is where my problem is...
I'm creating a persistent USB key using the Debian Live CD, I'm going to create an image and then duplicate that image to a load of other USB keys. Again, not a problem as such but there are cases where I need to specify a static IP address and gateway rather than using DCHP.
And here's where problem raises its head.
Because I've created the key on another machine it has allocated 'eth0' to a specific MAC Address (assigned in /etc/udev/70-persistent-net.rules) but when I place it into machine with a different network adapter it is assigning to 'eth1' (and this increments up).
a) call 'ifconfig' and 'route' without having to identify the adapter or
b) change the script that is creating '/etc/udev/70-persistent-net.rules' so it overwrites the 'eth0' entry with the only applicavle network adapter for the current hardware.
View 4 Replies
View Related
Jun 11, 2011
I'm trying to write a small script and there's one part of it that makes me sick:
Code:
ifconfig eth$num down
sleep 6
ifconfig eth$num hw ether $mac
ifconfig eth$num up
The problem is that the ethX interface doesn't go down immediately after the first line is executed. So sometimes the change of MAC is called while ethX is up, no matter how big is the sleep time, which results in an error. Is there a way to make this work right?
View 1 Replies
View Related
May 3, 2011
To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.
There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.
View 1 Replies
View Related
May 28, 2010
Firstly I thought LWP value listed during execution of command ps -eLf is same as the TID value of each threads getting spawned.But actually these two values are totally different(got TID value using pthread_self()).Please let me know what is this LWP value?
View 1 Replies
View Related
Aug 26, 2010
I've just arrived at uni and to set up my wifi apparently I need my "media access control which is listed as the phsyical address for ethernet adaptor local area connection." on windows you can find it by using the command ipconfig /all but that didn't work when i put it into terminal.
View 1 Replies
View Related
May 14, 2010
I am looking for customer relationship management, I have had a look at "Sugarcrm" but cannot seem to figure out how to install it.I run a small business on my own which often means i get flooded with customers from time to time and i need a CRM system that is simple to use and doesnt have to be fancy..What I am asking is there a package out there for ubuntu other then Sugarcrm?Btw the software will be installed on a stand alone computer.
View 2 Replies
View Related
May 31, 2011
I've setup an XP VM using Red Hat's KVM. The physical Red Hat box has two NICs, a fiber one in use and active and a CAT-5 one that is disabled and with no wire connected. The physical box has br0 active and bridging on the subnet of 192.168.10.0/24. ip route show also displays for virbr0 192.168.0.0/16 My physical box (192.168.10.228)can ping the virbr0 IP of 192.168.122.1, but not the XP VM of 192.168.122.228
I have played around with Window's route command to try and setup some method for the Windows VM to ping the 192.168.10.0 network, but have not had any luck. I've also messed around with the Red Hat netmask and such to work it from the Linux side. But then, as would be expected, I can't talk to other Linux boxes on the physical network.
Does anyone have any ideas how to get the Windows box to communicate with the Red Hat box and the other Linux systems beyond while keeping the two distinct networks of 192.168.10.0 and 192.168.122.0 leaving them both as Class C (255.255.255.0)? I mentioned the unused CAT-5 NIC thinking perhaps it could operate as an internal router even with no cable attached. That was just a random thought and I have not even explored that.
View 2 Replies
View Related
Jul 12, 2011
Could you please explain the relationship between the languages?For one, is C writing assembly when you compile, does every piece of code end up assembly/hex? Is there a way to convert (?port?) between them?I don't understand much at all of them yet, but I've seen examples where it looks like they are interacting, and an understanding of all of them looks to be important?
View 12 Replies
View Related
Mar 23, 2010
I have Ubuntu 10.04 and had no problems with wireless or wired. However, now it says Networking Disabled. When I click on it, everything is grayed out. My physical wireless button is on.
View 5 Replies
View Related
Jun 3, 2010
I'd like to access a samba/SSH server which itself is connected to a VPN Server, therefore acting as a VPN Client. As soon as the VPN Connection is established, samba and ssh connections to this VPN Client get a timeout. But not all of them.
To get a better understanding I made an overview. The first one is a general network overview, without any VPN Connection, the second one with the VPN Connection established.
Network Overview without VPN
I can access the server in several ways:
*From the router via ssh (router runs ipcop with busybox)
*From the laptop via ssh (putty via Windows 7)
*From the laptop via samba
*From the internet via ssh (port forwarding to the ssh server)
Everything is working as it should.
Now the server that runs ssh and samba service connects to a VPN Server on the Internet, this is also working fine. Now it gets weird. The only samba/SSH connection that is still working is ssh directly from the router to the server. Everything else gets a timeout:
*From the laptop via ssh (putty via Windows 7)
*From the laptop via samba
*From the internet via ssh (port forwarding to the ssh server)
Network Overview with VPN active
Why is that? It seems from the little understanding I have of vpn and networking, that incoming packages (like samba request from the laptop) don't get send directly back over eth0 but over the vpn connection. This seems somewhat logic, BUT ssh from the router is still working. Why from the router and not from the laptop? I really can't get my head around it.
Configuration Overview
tldr; One Client acts as VPN Client and samba/SSH Server. As soon as the VPN Connection is established samba/SSH stop working, but only partially.
View 1 Replies
View Related
Feb 27, 2010
new Install of 11.2 every time i boot i have to config network devices via Yast Control Center. I now have 8 eth configs for my one local net adapter. Why does the MAC address change each time? I cant use my routers built in MAC filter and MAC control functions if this keeps changing. So each time i boot i need to also go into my router and build a new MAC address profile based on the new MAC address before i get Internet access. Security to the point of no access...I hope this is just a bug in the system. I thought MAC addresses were firmware/device specific? What I need is one eth config that works each boot. And I need one MAC address that does not change between boots.
View 4 Replies
View Related
May 22, 2010
how are nics assigned - eth0 - ethx I am having problem with my distro randomly assigning nic to different ethx after each reboot. Sometimes nice 1 is eth0 and sometimes is eth3.
View 4 Replies
View Related
Aug 31, 2010
Running Centos 5.5 64bit. Sometimes I boot this instalation in real machine, sometimas using vmware workstation. The problem is that these environments have different network interface cards - as soon as kudzu detects that network device changed it renames ifcfg-eth0 to ifcfg-eth0.bak and places new default ifcfg-eth0.
Is it possible to command kudzu to leave ifcfg-eth0 as it is ?
View 2 Replies
View Related
Jan 25, 2010
On a Debian system, there are packages called uswsusp and hibernate. The former contains a program named s2disk, the latter contains a program called hibernate. Superficially, these both do the same thing: the suspend the machine to disk. Usually, this works fine, but since I'm often using Debian testing and there are lots of changes in kernel and other packages (I assume), somethings this breaks. But then, when one of these programs doesn't work, sometimes the other works. Often, hibernate works when s2disk doesn't.annoyingly, however, the "Suspend" or "Hibernate" buttons in the graphical user interfaces (e.g., LXDE, KDE) appear to be wired up to the s2disk program, so when that breaks I have to use hibernate manually.
So, what is the difference between these packages? Interestingly, the hibernate package "recommends" uswsusp, but the package description says that it "smartly puts your computer to sleep ... using one of the various methods available in the kernel". So apparently it can fall back to something else when the s2disk method fails? And if hibernate is more powerful, why wouldn't the GUIs use it instead?
View 1 Replies
View Related
Dec 9, 2010
I just found in kernel-2.6.35.3, in file arch/x86/kernel/irq.c:
unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
/* high bit used in ret_from_ code */
unsigned vector = ~regs->orig_ax;
[Code]...
Does any body know the relationship between the vector number and irq number?
View 1 Replies
View Related
Jul 13, 2011
I am setting up a class using a vmWare ESX server. Because of security proceedures, the students are not allowed to connect directly to the internet. Because of file space, the are severated on 3 servers. I am trying to set up a server that connects to the internet and all 3 subnets that the students are on.
I have configure 4 virtual NICs 1 with DHCP connected to the internet. The other 3 goes to each student network. I can get 2 working at a time. 1 using the DHCP and 1 of the other networks. It seems to be order dependent. On the main server I can ping the local address. When I ping the students systems, I can reach 1 but not the other 2. I get a host unreachable message.
Is there a limitation to 2 NICS. If not, is there any magic incantation to run the 4 nics?
View 4 Replies
View Related
Feb 24, 2010
Some times I boot up, and udev has labelled what is usually eth0 as eth1. Of course, my rc.inet1.conf is configured for seeing internet at eth0, so no connection, quite obviously. Then I reboot and the device label is back to "eth0". Actually I'm still not able to get connected, even at eth0, despite my nameservers being OK, and the default route gateway being all OK. PS. I have a static ip address.
View 3 Replies
View Related
Dec 9, 2010
My server is running Ubuntu. I have no problem adding a windows XP to the domain. I however have a problem with windows 7 laptop. I keep getting the following error
"The user could not be added because the following error has occurred:
The trust relationship between this workstation and the primary domain failed".
View 4 Replies
View Related
Dec 1, 2009
I am building a custom RedHat+<our-software> installer iso for our own appliance. I am using Red Hat 5.4. The appliances has two on-board eth interfaces. On the back panel of the appliance, these ports are marked 1 and 2. When I install RH, I find the device names assigned such as eth0/eth1 are arbitrary. I understand this is to be expected with kernels 2.6+. Most of our customers connect their eth cables to the port marked 1 on the back and assume they should configure eth0 to make the device reachable. However, sometimes port 1 gets assigned "eth1". This is not a blocking issue, but its going to confuse our customers and we wanted to make it easier on them.
From reading online discussion boards, I know HOW to switch the assignment of the eth names. However, what I am do not know is whether I need to switch them at all. So I have two questions
1) Is there anyway for me to tell which eth mac corresponds to which port on the back? Since they are soldered on the motherboard and not movable, I would think there would be some way to figure out that x mac address corresponds to the upper port (marked '1' etc).
2) Is there a way to tell this by running a linux command? We need to do this automatically so I need to be able to figure it out at install time from the kickstart post-install or similar.
View 1 Replies
View Related
Jul 24, 2011
Why does a NIC need a permanent individual way to distinguish it? Why not give it the host name in a form that is not a permanent hardwired hardware? Seems that the last ethernet router before reaching your PC is really seeking your NIC. So why is not the expression "What is your NIC Address" instead of "What is your IP Address"?
View 5 Replies
View Related
Jan 27, 2010
I have set up OpenVPN server using a bridged configuration. My networking "powers" aren't that advanced, so I did this by following the openvpn tutorial for bridged servers. I have tested this with several clients connecting to my server from different locations and it works very nicely (including broadcasts).
My server's LAN IP address is 192.168.2.4, and my LAN's mask is 24. Clients connecting to my server get assigned IP address that also fall within that subnet (i.e., the 192.168.2.x pool contains both physical machines in my home and "virtual" hosts). This is what the OpenVPN walkthrough specifies:
[Code]...
I was wondering if it would be possible for the VPN to fall within a different subnet (such as 10.0.1.x). I would also like to do that without adding another physical NIC to my server, or changing my physical IP address. I would imagine this is possible, since that's how hamachi does it.
View 1 Replies
View Related
Jan 15, 2010
i have sun Virtual box installed on my centos as my host os and centos as guest os.The ip on Sun virtual box virtual interface is10.0.2.15 and the ip on the physical machine is 192.168.1.11.when i try to ping the ip from my vps on centos to my physical machine it pings but it does't work when i try to ping my vps ip from my physical machine.Please recommend the route enteries i need to do in physical machine
View 3 Replies
View Related
Jun 3, 2010
Centos el5xen x86_64 in a company network, novell-netware, Static IP I have several issues with the Xen network configuration. This configuration worked before, and was maded by a other personn with a higher level in centos and network . I'm trying to re-install xen in bridging mode.
1) The dom0 ping in the company network, but can't acess to the Internet.
I de-activated firewall, iptables and SE-Linux for the test.
the ifconfig-a command return
eth0
lo
sit0 (IPV6 encapsuled in IPV4)
vif0
vnet0
but no Peth0 Physical device
Is it normal and how can i repare this ?
View 7 Replies
View Related
Mar 11, 2010
I need a ERD tool (ERD -> Entity Relationship Diagram). Where and how i can get it?. If it is platform independiente, open source (or free), it will help me greatly.
View 14 Replies
View Related
Apr 15, 2011
Recently,I am learnning about the LFS and I can not understand the relationship between the kernel and file system !!It is so annoyed because I want to understand the LFS deeply.who can describe the relationship between them!and who can give me a simple example?
View 1 Replies
View Related
Jun 27, 2010
For some simulation, I am trying to configure a setup of 3 ubuntu desktops (one of them with multiple network cards) to behave in the following way:
Each one of them should be a separate network not seeing the others (including multicast addresses) They need to have internet access through the machine with multiple network cards. So from the point of view of each machine they define a LAN in which it is the only device and have internet access through the gateway machine.
What do I need to do to configure these machines for the above setup?
View 6 Replies
View Related