NIC question!

Thread Tools Search this Thread
Special Forums IP Networking NIC question!
# 1  
Old 11-27-2007
NIC question!

I have eth1 and eth2 NIC in my Ubuntu. Everything works fine. I have two static IP, on XP and Ubuntu. XP -, Ubuntu is on eth1, eth2 is set on DHCP. I have Lan on and internet sharing. I share internet over XP. Can somebody explain to me some things: I assume that eth1 is my network card? What is eth0 then? What address should I have on eth0? Is DHCP right option on eth0? I'm little confused.
# 2  
Old 11-27-2007
I guess it is Smilie can you please post the output of "/sbin/ifconfig" and shed some light on "internet sharing". Usually eth0 is the first NIC you have, and eth1 is the second one, but it could be virtual interface as well. Do you have these two NICs physically installed on your box ?
# 3  
Old 11-28-2007
no, ihave installed only one, onboard, and I have Kasda Router connected through USB drive also, but i assume that doesnt matter.

eth0      Link encap:Ethernet  HWaddr 00:E0:18:B0:80:2F
          inet addr:  Bcast:  Mask:
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:231 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23564 (23.0 KiB)  TX bytes:7372 (7.1 KiB)
          Interrupt:185 Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:0E:F4:04:D0:58
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::20e:f4ff:fe04:d058/64 Scope:Link
          RX packets:1188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1080 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:847101 (827.2 KiB)  TX bytes:243701 (237.9 KiB)

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11275 (11.0 KiB)  TX bytes:11275 (11.0 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I connect to broadband internet, adsl on Xp pc, over Lan I share that connection to Ubuntu. It seems to me like yesterday it internet worked on Ubuntu with static IP-s, and when I started Ubuntu today I had to put DHCP. Smilie Like, it switches eth1 and eth0 Smilie I found somewherehow to put both pc on static ip and have internet connection shared but sometimes it works and sometimes it doesn't.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

2. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

3. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

4. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

5. UNIX for Dummies Questions & Answers

NIC card monitoring traffic question

Folks; I have 2 NIC cards on my SUSE Linux server. One of them was reporting receive errors for a while now it's OK, but i'd like to monitor it. Is there any command i can run to tell me the usage in the past or give me a history of traffic and the speed that going on this specific card? I... (1 Reply)
Discussion started by: Katkota
1 Replies

6. UNIX for Advanced & Expert Users

Question on NIC and ndd command

I have a T2000 server which has 4 e1000g NIC cards How do I configure each of it for 1Gbit full duplex and turnoff autonegotiation. Please assist Thanks (4 Replies)
Discussion started by: Tirmazi
4 Replies

7. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

8. UNIX for Dummies Questions & Answers

nic question...

Hi everybody, I want to know if there is a command for solaris or linux to have nic answers, like: register entity technical contact an so on, for a domain. I know I can do that fron the nic's site, but some guy told me there is a command to do that, but I forget it. I try dig, host,... (2 Replies)
Discussion started by: piltrafa
2 Replies

9. UNIX for Dummies Questions & Answers

NIC driver building question

I'm way confused. I loaded RH 7.1 on an old P-75 Compaq. IT has an EtherExpress pro/100 card in it and I have that attached to the optional port on our firewall with a crossover....I can't seem to get the card to negotiate with the's currently 100Meg at Half duplex. I'm at a loss... (3 Replies)
Discussion started by: kwalter
3 Replies
Login or Register to Ask a Question