[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: IP masquerade question
- From: leonardjo hetnet nl
- To: <redhat-install-list redhat com>
- Subject: Re: IP masquerade question
- Date: Tue, 30 May 2000 22:25:01 +0200
Hi Brian!
> I have the network card of the test PC connected (with RJ45 cable)
> to the eth1 network card in the linux box.
I hope you are using a cross cable or a hub?:))
> The test PC can ping itself (.100), but it can't ping 192.168.0.1
> I also can't ping the PC from the linux box.
Can you ping from 1 to 1? It seems you can't make the first hop.
> eth0 Link encap:Ethernet HWaddr 00:D0:B7:1D:CE:A6
> inet addr:204.167.104.162 Bcast:204.167.104.191
> Mask:255.255.255.224
(Seems like a funny mask, but allright..)
>...
> Interrupt:9 Base address:0xd000
>
> eth1 Link encap:Ethernet HWaddr 00:D0:B7:1D:89:30
>...
> Interrupt:5 Base address:0xb800
I seems you are using similar cards. This can be tricky. I tried this
with
two ISA 3c509X cards. Setting conf.modules to
alias eth0 3c509
alias eth1 3c509
options 3c509 io=0x300,0x280
options 3c509 irq=10,5
resulted in the io's and irq's being exchanged, although the cards were
set
to 0x300 & 10 resp 0x280 & 5 nPnP.
Setting conf.modules to
alias eth0 3c509
alias eth1 3c509
options eth0 -o 3c509 io=0x300 irq=10
options eth1 -o 3c509 io=0x280 irq=5
results in total failure. (Really, the io & irq are hardwired.) I also
set
the boot options, both only eth1 as well as both eth0 & eth1
specified/autoprobe.
So I left the whole conf.modules alone (no options), just set the lilo
param
to "[ether=10,0x300,eth0 ]ether=5,0x280,eth1", but eventually eth0 still
is the card with io set to 280. Bummer.
> [root ~]# /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface 192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0
> 0 eth1 204.167.104.162 0.0.0.0 255.255.255.255 UH 0 0
> 0 eth0 204.167.104.160 0.0.0.0 255.255.255.224 U 0
> 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U
> 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U
> 0 0 0 lo 0.0.0.0 204.167.104.161 0.0.0.0
> UG 0 0 0 eth0
162, 160, 161?
Have you got ipchains running?
Bye,
Leonard.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]