Re: Ethernet Question
> Hi Everyone,
>
> I've managed to get tcp/ip networking up and running on my Debian machine.
> I have my 3com 3x509 configured to ip address 192.168.0.1, I have one other
> machine on my local network(for now) and it is ip 192.168.0.2.
>
> How can I get my debian machine to see(ping) the other machine?
>
> My hub shows activity but ping just sits there like it is receiving nothing.
>
> Does this have something to do with the routing table? I've been studying a
> little and the more I read about the routing tables the more confused I get.
You could help us help you by showing what your routing tables currently
look like. But on the other hand, I can probably help you by showing
what my routing tables look like:
$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 1 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 48:54:E8:2A:77:73
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1532 errors:0 dropped:0 overruns:0 frame:0
TX packets:1644 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:9 Base address:0xdf00
$ cat /etc/init.d/network
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
If this doesn't help you, show us the output of those commands,
and we'll help you!
joostje@debian.org / joosteto@esperanto.org
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: