[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

net configure



I have asus A7N8X deluxe Mother board with 3com and forcedeth ethernet ports. nvidia forcedeth is eth0 and 3com is eth1. I have crossover cable connected to eth1(3com). I have both debian and knoppix along with winxp. When the pc is connected to laptop through eth1, it works in winxp and knoppix. but not in debian.
/etc/network/interfaces is same in both knoppix and debian installation.
lvghomepc:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth1 eth0
iface lo inet loopback


iface eth1 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255



iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255



ifconfig debian
lvghomepc:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:67:79:8A
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:6eff:fe67:798a/64 Scope:Link
          UP 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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:177 Base address:0x2000

eth1      Link encap:UNSPEC  HWaddr 00-E0-18-00-00-23-C1-AD-00-00-00-00-00-00-00-00
          inet addr:192.168.0.1  Bcast:192.168.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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

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:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4912 (4.7 KiB)  TX bytes:4912 (4.7 KiB)

ifconfig knoppix
root@lvghomepc:~# ifconfig
eth0      Link encap:UNSPEC  HWaddr 00-E0-18-00-00-23-C1-AD-00-00-00-00-00-00-00-00
          inet addr:192.168.1.1  Bcast:192.168.1.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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth1      Link encap:Ethernet  HWaddr 00:26:54:0E:8E:C0
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:60 (60.0 b)
          Interrupt:22 Base address:0xc000

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:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:300 (300.0 b)  TX bytes:300 (300.0 b)

why results are different?
what is the significance of Link encap:UNSPEC  HWaddr 00-E0-18-00-00-23-C1-AD-00-00-00-00-00-00-00-00?
How to get results same as knoppix in debian?

--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042
Reply to: