Question

problems to configure my LAN

Asked by: kar10s

Hi,
First of all, apologize for my poor english.
I need urgently an solution, so I will give another 500 points for a quick solution to this matter.

I have been during several days trying to configure my network without success.I can not see the other pcs on lan or navigate on Internet.(ADSL)

Can I have a step by step guide to do it.

The network runs perfectly on 3 pcs with windows, but I have problems to configure the box with Mandrake
(Runs ok with windows 2003)

  internet -------router
                         | --------- PC1(Mandrake9.1 and windows2003)
                         | --------- pc2(windows98)
                         | --------- pc3(windows98)


router(ZYXEL)
-------
It works as dhcp server . and provides ip addresses to pcs between 172.16.0.5 and 172.16.0.10
Local IP of router =172.16.0.1


DNS servers: 80.58.0.33 and 80.58.32.97
-----------

workgroup:RED1
-------------

config files:
**************

/etc/hosts
----------
127.0.0.1      localhost

/etc/resolv.conf
----------------
search red1 local
nameserver 127.0.0.1
nameserver 172.16.0.1
nameserver 80.58.0.33


/etc/sysconfig/network
-----------------------
HOSTNAME="PC1"
NETWORKING=yes
GATEWAY="172.16.0.1"
GATEWAYDEV=""
FORWARD_IPV4="no"
IPX="no"
IPXINTERNALNETNUM="0"
IPXINTERNALNODENUM="0"
IPXAUTOPRIMARY="on"
IPXAUTOFRAME="on"

/etc/sysconfig/routed
------------------
EXPORT_GATEWAY="no"
SILENT="yes"

/etc/sysconfig/network-scripts/ifcfg-eth0
-------------------------------------------

DEVICE="eth0"
BOOTPROTO="dhcp"
IPADDR=""
NETMASK=""
ONBOOT="yes"
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=yes
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"

/etc/sysconfig/drakconnect.netc
-------------------------------
NETWORKING=yes
DOMAINNAME2=local
GATEWAY=172.16.0.1
GATEWAYDEV=eth0
HOSTNAME=PC1
dnsServer3=80.58.0.33
DOMAINNAME=red1
dnsServer=127.0.0.1
ZEROCONF_HOSTNAME=kar10s1
dnsServer2=172.16.0.1


When I start mandrake:

[root@PC1 Desktop]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

eth0:9    Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:169.254.146.205  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:280 errors:0 dropped:0 overruns:0 frame:0
          TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17140 (16.7 Kb)  TX bytes:17140 (16.7 Kb)


why eth0:9 ? why inet addr:169.254.146.205  Bcast:169.254.255.255  Mask:255.255.0.0 ?


[root@PC1 kar10s]# /bin/netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
169.254.0.0      *               255.255.0.0     U         0 0          0 eth0
127.0.0.0         *               255.0.0.0         U         0 0          0 lo

When I make a ping to router or other pcs on lan (By their names or addresses) I obtain a message that says "destination is unreachable"

[root@PC1 kar10s]# ping 172.16.0.1
connect: Network is unreachable


I have tried a lot of things and modify a lot of parameters in config files.
for example:

[root@PC1 kar10s]# ifdown eth0
[root@PC1 kar10s]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          BROADCAST MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000


[root@PC1 kar10s]# ifconfig eth0 172.16.0.6 netmask 255.255.255.0 up
[root@PC1 kar10s]# route add -net 172.16.0.0 netmask 255.255.255.0 eth0
[root@PC1 kar10s]# route add default gw 172.16.0.1 eth0
[root@PC1 kar10s]# /bin/netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.0.0      *               255.255.255.0   U         0 0          0 eth0
172.16.0.0      *               255.255.255.0   U         0 0          0 eth0
127.0.0.0        *               255.0.0.0          U         0 0          0 lo

[root@PC1 kar10s]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:172.16.0.6  Bcast:172.16.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:33097 (32.3 Kb)  TX bytes:33097 (32.3 Kb)

other tests:

[root@PC1 kar10s]# ifdown eth0
[root@PC1 kar10s]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:692 errors:0 dropped:0 overruns:0 frame:0
          TX packets:692 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:45063 (44.0 Kb)  TX bytes:45063 (44.0 Kb)


[root@PC1 kar10s]# ifup eth0
Determining IP information for eth0... done.
/sbin/ifup: line 433:  2466 Hangup                  /etc/init.d/tmdns reload >/dev/null 2>&1

[root@PC1 kar10s]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

eth0:9    Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:169.254.146.205  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:742 errors:0 dropped:0 overruns:0 frame:0
          TX packets:742 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:48137 (47.0 Kb)  TX bytes:48137 (47.0 Kb)


Thanks in advance
Regards

kar10s

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-03-16 at 12:14:45ID20921027
Tags

host

,

workgroup

,

addr

,

lan

Topic

Linux Networking

Participating Experts
3
Points
500
Comments
18

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. DHCP Server netmask
    Does anybody know how to setup DHCP server using (responding) to netmask for example 255.255.252.0 ? Configured with such a netmask, the service starts but didn't respond (checked with DHCP Locator), no messages in event log. The DHCP server works fine with netmask 255.255.2...
  2. Linux Mandrake 5.2 kernel building
    I can't seem to locate the correct command line to build/customize my kernel. I am using the Linux Mandrake 5.2 and KDE X-window. Can you help me??
  3. mandrake 7.1 DSL setup
    trying to configure mandrake to access web via DSL. I think everything is correct, but no go. The only unknown is setting up the "other networks" and "other hosts". What address would this be? Do I need a host address from my ISP? If so, how does NT or...
  4. ADSL and linux mandrake 7.0
    How can I setup an adsl network connection working on linux mandrake 7.0?
  5. Static IP Ethernet Problems in Mandrake 8.x
    Hi, my computer has been setup with both windows 2000 and mandrake 8.1. Before I was using both with dhcp ethernet and it was working just fine. But I moved to an apartment where I have a static ip address. I was able to get the windows networking working with the new ip i...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ahoffmannPosted on 2004-03-16 at 13:27:44ID: 10610278

does you system run name server?
does your router run a name server?
(you have both configured as resolver in /etc/resolve.conf)

your ifconfig and route commands are ok, but your configuration is corrupted.
eth0:9 is strange, sounds like a dhcp-assigned IP.
Is your router 172.16.0.1 a dhcp server?

 

by: kar10sPosted on 2004-03-16 at 13:45:58ID: 10610458

hi,
>does you system run name server?
>does your router run a name server?
are you refering to DNS server?
No, I wrote on router configuration the "Ips of dns resolver" of my ISP. (It works on windows machines to navigate by internet)

>(you have both configured as resolver in /etc/resolve.conf)

>your ifconfig and route commands are ok, but your configuration is corrupted.
>eth0:9 is strange, sounds like a dhcp-assigned IP.
I am not sure but I think that eth0:9 with IP 169.254.146.205  is "creates" by zcip on start up or when I run ifup eth0.

>Is your router 172.16.0.1 a dhcp server?
Yes, the ip of router is 172.16.0.1 and it is run as dhcp server ( As previously indicated it assing the ip addresses on windows machine without problem)
 

 

by: RedimidoPosted on 2004-03-16 at 18:50:52ID: 10612119

as ahoffmann said

edit the file /etc/resolv.conf to be:

/etc/resolv.conf
----------------
nameserver 80.58.0.33

and issue
service iptables stop

and then try again with ifdown eth0 and then ifup eth0 to see if you are reaching the dhcpd server.

if this works, then you need to edit your firewall rules.

to see where you are obtaining the 169.254.146.2 ip, look for
cd /etc
grep -R "eth0:0" *
and see in which file you have something like
ifconfig eth0:9 ......

I think you write very well in english, but if you need to explain something in spanish I can help.

 

by: reketnetPosted on 2004-03-17 at 01:22:13ID: 10613640

Hello,
this ip 169.254.146.205  sometimes is obtained when the interface can not obtain ip by dhcp.So you maybe should try to run pimp or dhcpclient.Try these and tell us what is the result.


Hope helps,

 

by: kar10sPosted on 2004-03-17 at 09:28:50ID: 10617015

I have modifyed /etc/resolv.conf according your advice.
iptables is not working.

[root@PC1 root]# ifdown eth0
[root@PC1 root]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          BROADCAST MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

Now I  do:
[root@PC1 root]# ifup eth0
Determining IP information for eth0...

Meantime:

[root@PC1 sbin]# ps -al
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0  6143  6112  0  69   0 -   452 wait4  pts/2    00:00:00 man
0 S     0  6146  6143  0  69   0 -   601 wait4  pts/2    00:00:00 sh
1 S     0  6147  6146  0  68   0 -   602 wait4  pts/2    00:00:00 sh
0 S     0  6152  6147  0  69   0 -   434 read_c pts/2    00:00:00 less.bin
0 S     0  7771  3359  0  70   0 -   692 wait4  pts/3    00:00:00 ifup
4 S     0  7795  7771  0  60   0 -   485 select pts/3    00:00:00 dhclient
0 R     0  7816  1999  0  72   0 -   895 -      pts/1    00:00:00 ps

dhclient is runnng
when "ifup" has finished:
[root@PC1 root]# ifup eth0
Determining IP information for eth0... done.
/sbin/ifup: line 433:  7819 Hangup                  /etc/init.d/tmdns reload >/dev/null 2>&1

Here we can see a mesagge that says: Hangup.

If we do now:
[root@PC1 root]# ps -al
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0  6143  6112  0  69   0 -   452 wait4  pts/2    00:00:00 man
0 S     0  6146  6143  0  69   0 -   601 wait4  pts/2    00:00:00 sh
1 S     0  6147  6146  0  68   0 -   602 wait4  pts/2    00:00:00 sh
0 S     0  6152  6147  0  69   0 -   434 read_c pts/2    00:00:00 less.bin
1 S     0  7818     1  0  69   0 -   144 select pts/3    00:00:00 zcip
0 R     0  7834  3359  0  76   0 -   895 -      pts/3    00:00:00 ps

We can see here that zcip is runnig and ifconfig says:

[root@PC1 root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

eth0:9    Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:169.254.146.205  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:888 errors:0 dropped:0 overruns:0 frame:0
          TX packets:888 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:59522 (58.1 Kb)  TX bytes:59522 (58.1 Kb)


I can not ping any other machine or router
and any other  pc can ping this one.

As reketnet say , I believe that the interface can not obtain ip by dhcp due to this one can not reach the router

If I do:
[root@PC1 etc]# grep -R "eth0:0" *
grep: httpd/2.0/build: No such file or directory
sysconfig/network-scripts/ifup-aliases:# The above example values create the interfaces eth0:0 through eth0:253 using



please help I am completly desesperate.
Regards
kar10s

Redimido: mi ingles es muy limitado y a veces pienso que no soy capaz de transmitir algunos detalles de lo que quiero expresar.
Por cierto. Curioso nick el tuyo :)
Un Abrazo desde españa.

 

by: ahoffmannPosted on 2004-03-17 at 10:11:24ID: 10617392

ifup is a script, check what it does

 

by: RedimidoPosted on 2004-03-17 at 11:34:31ID: 10617993

kar10s

don't start eth0 before run ifup.

if you want the automated way, use
ifdown eth0
ifup eth0

if this does not work, then manually, you can use
ifdown eth0
ifconfig eth0
dhclient eth0

if you still do not get an IP, then the problem is you cannot reach the dhcp server. in such case... have you considered to change the wire to a new one? change it, change to a different port in the hub/switch, check in the router you didn't filtered any MAC address, etc. because to problem is not likely to be on your linux box... (unless you have a secondary network card, and you are trying to use dhclient on with while connected the wire to the other card... [si tienes dos tarjetas de red, checa que el cable este conectado a la correcta])

 

by: ahoffmannPosted on 2004-03-17 at 14:49:28ID: 10619510

hmm, I'm not a Mandrake guru, but AFAIK ifup and ifdown are scripts calling ipconfig.
Mixing these commands migt not be wise, either get used to the scripts, or use native ifconfig, but don't mix.

 

by: RedimidoPosted on 2004-03-17 at 15:16:40ID: 10619653

That's right  =)

or you use the automated way (with the ifdown and ifup scripts) or you do it manually, with ifconfig + dhclient ...

but as said, don't mix.

 

by: kar10sPosted on 2004-03-27 at 09:38:19ID: 10695339

I don't undestand what I am doing incorrectly, but I can not get it. Any other suggestion?

 

by: ahoffmannPosted on 2004-03-27 at 09:50:41ID: 10695376

could you please post the default route:
  netstat -rn
or
  netstat -rn|grep 0.0.0.0

 

by: kar10sPosted on 2004-03-29 at 12:58:04ID: 10707863

Hi,

[root@PC1 network-scripts]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         172.16.0.1      0.0.0.0         UG        0 0          0 eth0


I have tried a lots of things without sucessful.
Now, I have modified the router configuration from windows in order to it does not work as DHCP Server.
PC1 IP=172.16.0.6
Router IP=172.16.0.1

So when I start linux:

[root@PC1 network-scripts]# ping 172.16.0.1
PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data.
From 172.16.0.6 icmp_seq=1 Destination Host Unreachable
From 172.16.0.6 icmp_seq=2 Destination Host Unreachable
From 172.16.0.6 icmp_seq=3 Destination Host Unreachable

--- 172.16.0.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3020ms
, pipe 3

[root@PC1 network-scripts]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:172.16.0.6  Bcast:172.16.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000


As I have not response from router I try again:

[root@PC1 network-scripts]# ifdown eth0
[root@PC1 network-scripts]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:521 errors:0 dropped:0 overruns:0 frame:0
          TX packets:521 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38948 (38.0 Kb)  TX bytes:38948 (38.0 Kb)

[root@PC1 network-scripts]# ifup eth0
[root@PC1 network-scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:172.16.0.6  Bcast:172.16.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:531 errors:0 dropped:0 overruns:0 frame:0
          TX packets:531 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39568 (38.6 Kb)  TX bytes:39568 (38.6 Kb)

[root@PC1 network-scripts]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         172.16.0.1      0.0.0.0         UG        0 0          0 eth0

[root@PC1 network-scripts]# ping 172.16.0.1
PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data.
From 172.16.0.6 icmp_seq=1 Destination Host Unreachable
From 172.16.0.6 icmp_seq=2 Destination Host Unreachable
From 172.16.0.6 icmp_seq=3 Destination Host Unreachable

--- 172.16.0.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3020ms
, pipe 3
[root@PC1 network-scripts]#

I do not know what I am making wrong or If I have forgotten something.

 

by: RedimidoPosted on 2004-03-29 at 13:26:33ID: 10708192

I'm think this is a hardware problem.

did you change the wire?
are you sure the module for your card is the right one?

For the cable, it could be the port you are connecting to the router box is damaged. try another. also try chainging the cable.

for the module problem, you can see the real card id if you issue
lspci

and you can see the module loaded to manage the card issuing
lsmod

they must match. some cards have problems with one mode (tulip, most of the cases) and work with another.

 

by: kar10sPosted on 2004-03-30 at 12:01:24ID: 10717074

Remidio, everything run perfectly on windows, so it must not be a hardware problem.
I have just fixed it.
I saw the light when I saw that eth0 was in IRQ=19

[root@PC1 network-scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:61:32:33:EA
          inet addr:172.16.0.6  Bcast:172.16.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x8000

The problem is that Linux seems to only understand 16 IRQs, so when APIC is on , and some device are asigned IRQs higher than 16, it freaks.

The problem is solved if we add 'noapic' to the 'append=' line in /etc/lilo.conf
The same effect can be achieved if we turning it off in the BIOS

uff, 2 weeks fighting with network configuration and it was ok.

Remidio, ahoffmann
Thanks a lots for your time. I will split the points beetwen you.

Regards

Kar10s

 

by: ahoffmannPosted on 2004-03-30 at 21:22:46ID: 10721000

outsch, this is a new hint for my "db in brain"
Thanks kar10s.

 

by: RedimidoPosted on 2004-03-30 at 22:33:11ID: 10721279

yeap... irq=19 it's all new for me also. so activating APIC does all the magic then...

I need to read more ;-)

thanks too!

 

by: ahoffmannPosted on 2004-03-31 at 04:14:32ID: 10722974

> .. activating APIC ..
NO, de-activating !  -- read more .. ;-)

 

by: RedimidoPosted on 2004-03-31 at 10:39:02ID: 10726021

ahoffman:

to go to irq 19 (and up of irq 15) requires the APIC magic


I saw it from the other point of view :-)

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...