/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


# ifconfig -a 
   eth0 on 24.93.21.245
   eth1 on 192.168.0.1

# netstat -rn
   shows you routing 192.168.* (by default) out eth0

try adding a route for 192.168...
# route add -net 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 eth1

At 01:23 AM 3/12/2000 , Lauren McClure reported that...

>[ ifconfig -a ]
>eth0      Link encap:Ethernet  HWaddr 00:50:DA:B4:7D:EB
>           inet addr:24.93.21.245  Bcast:24.93.21.255  Mask:255.255.255.0
>           UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
>           RX packets:424 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:253 errors:0 dropped:0 overruns:0 carrier:3
>           collisions:1 txqueuelen:100
>           Interrupt:9 Base address:0xfc80
>
>eth1      Link encap:Ethernet  HWaddr 00:50:04:19:5D:79
>           inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>           BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:10 Base address:0x300
>
>lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>
>[ ipchains -L ]
>Chain input (policy ACCEPT):
>target     prot opt     source                destination           ports
>ACCEPT     udp  ------  anywhere             anywhere              bootps ->
>bootpc
>Chain forward (policy DENY):
>target     prot opt     source                destination           ports
>MASQ       all  ------  192.168.0.0/24       anywhere              n/a
>Chain output (policy ACCEPT):
>
>[ netstat -rn ]
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags   MSS Window  irtt
>Iface
>24.93.21.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
>0.0.0.0         24.93.21.1      0.0.0.0         UG        0 0          0 eth0
>
>[ rc.firewall ]
>After I reboot and check /proc/sys/net/ipv4/ip_forward - it's always 0,
>but if I run the rc.firewall script by hand, it is set correctly to 1.
>So I always set it manually - usually with the standard echo line.
>
>Any help is really appreciated...
>thanks
>
>_______________________________________________
>Masq maillist  -  [EMAIL PROTECTED]
>Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
>UNSUBSCRIBING!
>or email to [EMAIL PROTECTED]
>
>PLEASE read the HOWTO and search the archives before posting.
>You can start your search at http://www.indyramp.com/masq/
>Please keep general linux/unix/pc/internet questions off the list.

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to