linux EL4 ipconfig prob


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat linux EL4 ipconfig prob
# 1  
Old 05-06-2009
linux EL4 ipconfig prob

Hi

I have an issue regarding configuration of IP to my linux machine.
I have installed linux EL4 on intel machine(with gigabyte motherbaord, sata hard disk, Edimax lan card) since realtek was not supporting it.

errors in configuration of ipaddress in Linux EL4:
The mother board is gigabyte and LAN card was realtek. When we tried to assign ipaddress we failed.
Later we add another lan card from EDIMAX
now when we assing ip adress locally it takes.
but when we give it static it fails.

when i assingn MANUALLY(STATIC):
#netconfig


│ Please enter the IP configuration for this machine. Each │
│ item should be entered as an IP address in dotted-decimal │
│ notation (for example, 1.2.3.4). │
│ │
│ [ ] Use dynamic IP configuration (BOOTP/DHCP) │
│ │
│ IP address: 100.43.0.199____ │
│ Netmask: 255.255.0.0_____ │
│ Default gateway (IP): 100.43.100.254__ │
│ Primary nameserver: ________________ │
│ │
│ ┌────┐ ┌──────┐ │
│ │ OK │ │ Back │ │
│ └────┘ └──────┘ │


root@localhost ~# service network restart
Shutting down interface eth0: OK
Shutting down loopback interface: OK
Setting network parameters: OK
Bringing up loopback interface: OK
Bringing up interface eth0: OK
root@localhost ~#

everything works quite good.

But the problem is that i cannot ping to other machines in my LAN.
eventhough I gave the gateway subnet,....

root@localhost network-scripts# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0E:2E:F8:BD:63
inet addr:100.43.0.199 Bcast:100.43.255.255 Mask:255.255.0.0
inet6 addr: fe80::20e:2eff:fef8:bd63/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:17282 (16.8 KiB)
Interrupt:185 Base address:0xd000

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

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)

root@localhost network-scripts# ping 100.43.0.2
PING 100.43.0.2 (100.43.0.2) 56(84) bytes of data.
From 100.43.0.199 icmp_seq=1 Destination Host Unreachable
From 100.43.0.199 icmp_seq=2 Destination Host Unreachable
From 100.43.0.199 icmp_seq=3 Destination Host Unreachable

--- 100.43.0.2 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4000ms
, pipe 4

Now when i give dynamic ip address


│ Please enter the IP configuration for this machine. Each │
│ item should be entered as an IP address in dotted-decimal │
│ notation (for example, 1.2.3.4). │
│ │
│ [*] Use dynamic IP configuration (BOOTP/DHCP) │
│ │
│ IP address: ________________ │
│ Netmask: ________________ │
│ Default gateway (IP): ________________ │
│ Primary nameserver: ________________ │
│ │
│ ┌────┐ ┌──────┐ │
│ │ OK │ │ Back │ │
│ └────┘ └──────┘ │
│ │
│ │
└─────────────────────────────────────────────────────────────┘

root@localhost ~]# service network restart
Shutting down interface eth0: OK
Shutting down loopback interface: OK
Setting network parameters: OK
Bringing up loopback interface: OK
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present. Check cable?
FAILED


root@localhost ~# ifup eth0

Determining IP information for eth0... failed.


root@localhost ~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0E:2E:F8:BD:63
inet addr:100.43.0.199 Bcast:100.43.255.255 Mask:255.255.0.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:18258 (17.8 KiB)
Interrupt:185 Base address:0xd000

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

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)

thanking u
regards,

Last edited by vbe; 05-06-2009 at 08:44 AM.. Reason: removed URL
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

linux EL4 Internet Issue

Hi friends, I installed linux EL4 on Compaq nc6220 unfortunately it can not access the network and internet. I tried the manual configuration with netconfig command expecting to get a result after introducing the ifconfig with -a option command. It proved abortive. Please assist with a... (0 Replies)
Discussion started by: afahayangha
0 Replies

2. Solaris

Solaris 8 prob

Pls tell me how can i recover adeleted user in solaris 8. Please help me I'm a newby thanks aamer (4 Replies)
Discussion started by: aamer
4 Replies

3. UNIX for Advanced & Expert Users

NFS prob

Hi all, i want mount directory with permission #NFS Server = FreeBSD /etc/export = /data -alldirs -network 192.168.0.0 -mask 255.255.255.0 #NFS Client = Ubuntu 192.168.0.8:/data /dir nfs intr but i m unable to create folder in /dir whts the wrong? Please... (4 Replies)
Discussion started by: jagnikam
4 Replies

4. UNIX for Dummies Questions & Answers

ifconfig and ipconfig

hey, I know that ifconfig on linux systems is identical to win ipconfig. I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command. thanks alot :) (2 Replies)
Discussion started by: tsmotix
2 Replies

5. Shell Programming and Scripting

prob with ssh

I am executing this on say host1 export dn=/home/abhi export fn=file\"*\" file_path=$dn/$fn set -A files $(ssh host2 "eval echo $file_path") echo files= ${files} So the purpose is to store in array "files" .. the o/p of cmd executed in host2... this script works fine if the files r... (1 Reply)
Discussion started by: abzi
1 Replies

6. AIX

memory prob

There is problem in my system whenever i run a command lsattr -El mem0 it shows 3gb memory and when i run lscfg -vp | grep Size it shows 8 modules of 512 mb. it means it shows 4 gb how is it possible. (1 Reply)
Discussion started by: vjm
1 Replies

7. Shell Programming and Scripting

prob

When i am trying to $uncompress tress.dmp.Z I am getting tress.dmp.Z permission denied. What action i have to perform to unzip or uncompress It has rw-r--r-- permissions When i am trying to change the permissions chmod 744 it says. chmod: Warning: can't change tress.dmp.Z Just... (1 Reply)
Discussion started by: dreams5617
1 Replies

8. Linux

Redhat Linux 8 gfx card prob

hi guys, i have just installed Redhat Linux 8 on my home computer and it doesn't have the valid driver for my Radeon 9800 xt have looked about for it and can't find the driver. My computer works fine in a way, i can use it, but it would just be nice to have it set up fully correct so i can... (0 Replies)
Discussion started by: SemperFi
0 Replies

9. SuSE

Having a prob. installing SUSE Linux on a laptop

Hi Everyone Im just wondering if anyone knows why when you install SUSE Linux 8.0 on a NEC Versa Laptop that KDE does not fill the entire window. There is a peripheral setup that I played with both the display settings and changing the display adapter, but nothing seems to fix the problem.... (4 Replies)
Discussion started by: spiral
4 Replies

10. UNIX for Dummies Questions & Answers

ipconfig?

Hi guys, I need help on ipconfig issue. Recently I've installed RedHat 7.0 on my system. However, when I typed ipconfig command on my root directory, it can't work. Please advise & forgive my ignorance. Thanks! (2 Replies)
Discussion started by: totti
2 Replies
Login or Register to Ask a Question