Re: routing question
* Michael Heldebrant (hmike@portalofevil.com) spake thusly:
>
> What is the default policy for the input and output chains on "a".
> ipchains -L -v -n output will show this.
[root@exitwound stephen]# /sbin/ipchains -L -v -n
Chain input (policy ACCEPT: 3466 packets, 774392 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
0 0 ACCEPT udp ------ 0xFF 0x00 eth0 0.0.0.0/0 0.0.0.0/0 67 -> 68
Chain forward (policy DENY: 0 packets, 0 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
1206 76677 MASQ all ------ 0xFF 0x00 * 192.168.2.0/24 0.0.0.0/0 n/a
Chain output (policy ACCEPT: 3294 packets, 806120 bytes):
> The output of netstat -atp on
> "a" would also be helpfull along with the route output from both
> machines.
[root@exitwound stephen]# netstat -atp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 pappy.exitwound.o:pop-3 calypso.exitwound:44919 TIME_WAIT -
tcp 0 0 192.168.1.10:pop-3 calypso.exitwound:44918 TIME_WAIT -
tcp 0 0 *:6010 *:* LISTEN 607/sshd2
tcp 0 232 pappy.exitwound.org:ssh calypso.exitwound:44912 ESTABLISHED 607/sshd2
tcp 0 0 *:smtp *:* LISTEN 409/sendmail: accep
tcp 0 0 192.168.1.10:www *:* LISTEN 363/httpd
tcp 0 0 *:mysql *:* LISTEN 359/mysqld
tcp 0 0 *:ssh *:* LISTEN 291/sshd2
tcp 0 0 *:pop-3 *:* LISTEN 282/inetd
tcp 0 0 *:pop-2 *:* LISTEN 282/inetd
> I assume the "broadcase" above for eth1 is a typo and not the
> actual command right?
actually, that wasn't a typo. it's been corrected. thanks.
>Are you using some sort of dhcp on "a" with pump?
Nope. All of that is handled through the DSL modem/router. I just
simply set the default gateway to point to it.
--
____) ,_) ,_)
(-(__ |_ _ _ |/
____) | |(_)(_ |\
( \_,
_______________________________________________
| http://www.exitwound.org : hard to find |
_______________________________________________
-------------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: