At 10:32 25/02/2003 +0000, you wrote:
Hi folks,

I have to route traffic to another network for an IP address that is within
one of my subnets.

I've created an interface eth0:0 with the address 10.1.0.34 and then tried to
redirect the packets to the router using the following rule but it didn't
work:

eth0:0 10.1.0.34
eth1 192.168.1.1
Cisco router 192.168.1.2

iptables -A PREROUTING -d 10.1.0.34 -j DNAT --to-destination 192.168.1.2


I think you need to look at your routing tables rather than the firewall.

route add default gw $cisco
route add -net $network gw $gateway

"man route"

I'm not very clear on your network topography from the info you gave.
Or I've overdone the coffee again.....

???
[EMAIL PROTECTED]




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to