Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi:
I had 2 ethernet cards on my system external(eth0) and internal card(eth1), then i removed the external card(eth0) and the internal one still named by eth1 ,so i swapped the 2 mac address in /etc/iftab and its done internal card (eth1) named by eth0 ,but the problem is internet didnt came up again on eth0 despite i configured the connection on eth0.
i did ifconfig and here what i had :
Hi:
I use Mandrake 10.0 ,i did the ping to the gateway and here what i have got:
[root@beigraph root]# ping 195.112.XXX.XXX
PING 195.112.XXX.XXX (195.112.XXX.XXX) 56(84) bytes of data.
64 bytes from 195.112.XXX.XXX: icmp_seq=1 ttl=255 time=27.0 ms
64 bytes from 195.112.XXX.XXX: icmp_seq=2 ttl=255 time=31.4 ms
64 bytes from 195.112.XXX.XXX: icmp_seq=3 ttl=255 time=31.6 ms
64 bytes from 195.112.XXX.XXX: icmp_seq=4 ttl=255 time=31.9 ms
--- 195.112.212.217 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 27.058/30.532/31.966/2.013 ms
HI:
These are the results of your commands:
[root@beigraph root]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
195.112.212.216 * 255.255.255.248 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
.default 195.112.212.217 0.0.0.0 UG 0 0 0 eth1
[root@beigraph root]# traceroute 64.179.4.149
traceroute to 64.179.4.149 (64.179.4.149), 30 hops max, 38 byte packets
1 195.112.212.217 (195.112.212.217) 27.954 ms 35.390 ms 35.469 ms
2 172.16.2.6 (172.16.2.6) 64.947 ms 64.947 ms 65.468 ms
3 router (195.112.192.126) 54.973 ms 60.421 ms 60.618 ms
4 63.218.55.53 (63.218.55.53) 145.353 ms 145.892 ms 156.445 ms
5 pos6-2.br02.ash01.pccwbtn.net (63.218.44.74) 229.944 ms 245.920 ms *
6 wiltel.ge11-1.br02.ash01.pccwbtn.net (63.218.94.126) 241.900 ms 235.934 ms 276.963 ms
7 hrndva1wcx2-pos11-0.wcg.net (64.200.89.137) 250.961 ms 240.914 ms 246.948 ms
8 nycmny2wcx2-pos1-0-oc192.wcg.net (64.200.210.177) 236.113 ms 256.917 ms 245.943 ms
9 nycmny2wcx3-pos11-3.wcg.net (64.200.68.98) 496.901 ms 241.423 ms 241.073 ms
10 nycmny1wce2-pos3-0.wcg.net (64.200.68.102) 245.275 ms 240.920 ms 236.042 ms
11 nycmny1wce2-choiceone-5-0.wcg.net (65.77.98.82) 311.379 ms 246.239 ms 260.779 ms
12 tr-5-1007-bflo-shasta.choiceone.net (64.65.210.190) 256.938 ms 271.333 ms 270.923 ms
13 web1.linuxquestions.org (64.179.4.149) 256.452 ms 260.959 ms 250.936 ms
And for pk21 question , The internet is already now on internal card (eth1) and its working fine , but what i want is to change the name of internal card from eth1 to eth0.
Configure your both cards in the /etc/sysconfig/network-scripts/ifcfg-ethX (Where "X" is the number of your network card give by the "dmesg" command). If there's not one for your card, create it, following the rules in that other files.
Make sure that the modules are up (But since the "dmesg" command shows both cards, there's no worry about that).
Since you're connecting through ADSL or something like it, you could be blocked by your ISP, just like pl21 said, so you should confirm this information, but first you should try to configure your connection again with adsl-setup (Or something like it. I'm not a Mandrake user, sorry).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.