What does your routing table look like?

If using simple routing:
  netstat -rn

If using advanced routing:
  ip ru ls
  ip ro ls table 0

Having two interfaces in the same logical IP network can be quite 
confusing.

Ps: this question belongs on the Netfilter Users mailinglist. Not the 
developer lits.

Regards
Henrik  Nordstr�m


On Sunday 10 March 2002 05:15, james se wrote:
> hello people who help me alot in my life (virtually everyone who
> works and studies for rest of world~ cheers!)
>
> anyway I've been working on NAT with iptables but I'm in a maze
> finally. what I did was this
>
> iptables -t nat -A PREROUTING -i eht0 -p tcp --dport 8023 -j DNAT
> --to 192.168.0.5:23
>
> ##these are my situation
> obviously 192.168.0.5 is my inside network and in the server
> machine I have 2 ethernet cards
> eth0 : 192.168.0.1
> eth1 : 192.168.0.2 (this is connected to 192.168.0.5)
> and I connect the internet with adsl by using eth0 (then I finally
> got ppp0 interface)
>
> I've tryied with my friends PCs with same command and It worked but
> not with my pc
> his configurations were exactly the same except he uses cable modem
> and he doesn't get ppp0 but eth1 has offical ip address.
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx

Reply via email to