Re: routing question
* Michael Heldebrant (hmike@portalofevil.com) spake thusly:
>
> I am guessing that the problem must be on the interfaces on
> the debian machine. What does ifconfig on the debian machine show?
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:C0:F0:57:C9:AF
inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2827 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:228510 (223.1 Kb) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x7000
# route -ee
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
localnet * 255.255.255.0 U 0 0 0 eth0 40 0 0
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 40 0 0
# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
# installation
# (network, broadcast and gateway are optional)
# automatically added when upgrading
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
> Your previous email had no auto eth0 line in your
> /etc/network/interfaces listed nor a lo stanza. Perhaps the interface
> is just not up?
sorry about that. the previous post didn't include the entire
interface file. above is the complete file.
the interface /is/ up, because i can successfully gateway to the DSL
modem. i just can't see 192.168.1.10 on machine "a" and machine "a"
can't see this box.
--
____) ,_) ,_)
(-(__ |_ _ _ |/
____) | |(_)(_ |\
( \_,
_______________________________________________
| http://www.exitwound.org : hard to find |
_______________________________________________
| The horror... the horror! |
_______________________________________________
-------------BEGIN GEEK CODE BLOCK-------------
| Version: 3.1 |
| GJ/IT d- s: a C+++>$ UL++++ P+++ L+++ E--- W++|
| N+@ o K- w O- M- V PS+ PE Y+ PGP++ t+@ 5@ X++ |
| R tv+@ b+ DI++++ D+ G++ e++++ h---- r+++ y+++ |
--------------END GEEK CODE BLOCK--------------
Reply to: