Computing.Net > Forums > Linux > Networking problem.... plz help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Networking problem.... plz help

Reply to Message Icon

Name: dheen
Date: May 20, 2006 at 01:05:13 Pacific
OS: RHEL4/windows 98
CPU/Ram: pentium3/256 MB
Product: Compaq presario
Comment:

HI Friends,

Normaly im using 1 NIC in my system for broad band net connection. but when i add another NIC for my home networking its become collapsed, i cant to do anythin through both NIC 's.i lost internet connection. if i remove the 2NIC (eth1) no problem to net activation. both NIC 's are activated. im using diffeent class of networks for Both NIC's.eth0's ip is 192.168.1.10, eth1's ip 192.168.0.1. in case of home network when i connect the cable LED's are lightening but pinging is not possible through both NIC. i tried best but couldnt got an idea... results of some commands follows..

command ifconfig

eth0 Link encap:Ethernet HWaddr 00:E0:4D:04:9F:B3
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4dff:fe04:9fb3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:32006 (31.2 KiB)
Interrupt:3 Base address:0x1400

eth1 Link encap:Ethernet HWaddr 00:E0:4C:08:22:D3
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe08:22d3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:25526 (24.9 KiB)
Interrupt:5 Base address:0x1800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:43365 errors:0 dropped:0 overruns:0 frame:0
TX packets:43365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53291106 (50.8 MiB) TX bytes:53291106 (50.8 MiB)


command /sbin/route


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1

output of command lsmod


Module Size Used by
nfsd 204385 9
exportfs 7617 1 nfsd
lockd 63977 2 nfsd
parport_pc 24705 0
lp 12077 0
parport 37129 2 parport_pc,lp
autofs4 23237 0
i2c_dev 11329 0
i2c_core 22081 1 i2c_dev
sunrpc 157093 19 nfsd,lockd
ipt_REJECT 6593 1
ipt_state 1857 1
ip_conntrack 40949 1 ipt_state
iptable_filter 2753 1
ip_tables 16833 3 ipt_REJECT,ipt_state,iptable_filter
md5 4033 1
ipv6 232705 20
vfat 14529 2
fat 44257 1 vfat
dm_mod 54741 0
button 6481 0
battery 8901 0
ac 4805 0
uhci_hcd 31065 0
snd_maestro3 23273 3
snd_ac97_codec 63889 1 snd_maestro3
snd_pcm_oss 49017 0
snd_mixer_oss 17985 3 snd_pcm_oss
snd_pcm 96841 2 snd_maestro3,snd_pcm_oss
snd_timer 29893 1 snd_pcm
snd_page_alloc 9673 1 snd_pcm
snd 54949 8 snd_maestro3,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9889 3 snd
8139too 25921 0
mii 4673 1 8139too
floppy 58481 0
ext3 116809 3
jbd 71257 1 ext3


ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.10 icmp_seq=1 Destination Host Unreachable
From 192.168.1.10 icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5999ms
, pipe 4

I expect ur kind help.....

Thanking u......


karayil kingdom



Sponsored Link
Ads by Google

Response Number 1
Name: gururug
Date: May 23, 2006 at 05:32:42 Pacific
Reply:

I think you may need to set the the net interface as the default route;

route add default eth0


0

Response Number 2
Name: dheen
Date: May 26, 2006 at 04:34:57 Pacific
Reply:

Hi gurrug...

Still problem some dtails are follows.

ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4D:04:9F:B3
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4dff:fe04:9fb3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:457 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:46451 (45.3 KiB)
Interrupt:3 Base address:0x1400

eth1 Link encap:Ethernet HWaddr 00:E0:4C:08:22:D3
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe08:22d3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:43931 (42.9 KiB)
Interrupt:5 Base address:0x1800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:116230 errors:0 dropped:0 overruns:0 frame:0
TX packets:116230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:45138544 (43.0 MiB) TX bytes:45138544 (43.0 MiB)

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
default 192.168.0.254 0.0.0.0 UG 0 0 0 eth1

[root@Tiamo ~]# route add -net default gw 192.168.1.1
[root@Tiamo ~]# ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.10 icmp_seq=0 Destination Host Unreachable
From 192.168.1.10 icmp_seq=1 Destination Host Unreachable
From 192.168.1.10 icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 icmp_seq=4 Destination Host Unreachable
From 192.168.1.10 icmp_seq=5 Destination Host Unreachable
From 192.168.1.10 icmp_seq=6 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
10 packets transmitted, 0 received, +5 errors, 100% packet loss, time 9002ms
, pipe 5

/etc/resolv.conf

search .

nameserver 192.168.1.1
nameserver 61.1.96.69
nameserver 192.168.0.1


service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]


ping 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=0 Destination Host Unreachable
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
From 192.168.0.1 icmp_seq=4 Destination Host Unreachable
From 192.168.0.1 icmp_seq=5 Destination Host Unreachable
From 192.168.0.1 icmp_seq=6 Destination Host Unreachable
From 192.168.0.1 icmp_seq=7 Destination Host Unreachable

--- 192.168.0.254 ping statistics ---
9 packets transmitted, 0 received, +8 errors, 100% packet loss, time 8001ms
, pipe 4

Expect ur help....

Thanking u...


karayil kingdom


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Networking problem.... plz help

!plz help , internet+2 local lans www.computing.net/answers/linux/plz-help-internet2-local-lans/22580.html

WINE problem help my www.computing.net/answers/linux/wine-problem-help-my/20493.html

Network Problems!! Please Help! www.computing.net/answers/linux/network-problems-please-help/5221.html