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-scr
ipts/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