[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables script review

On Monday, 25.07.2005 at 16:27 +1200, Adam Bogacki wrote:

> >>>INET_IP=""
> >>>INET_IFACE="eth0"
> >>>
> >>>LAN_IP=""
> >>>LAN_IP_RANGE=""
> >>>LAN_IFACE="eth1"
> >
> >Well, that looks wrong for a start. The IP addresses and ranges on your
> >INET interface and LAN interface overlap, which is Bad and Wrong. The
> >broadcast address is also spurious.
> >
> >What IP addresses and net-masks are actually allocated to eth0 and eth1?
> >Perhaps show us the output of 'ifconfig'?
> Output of 'ifconfig' below.
> Adam.

Adam, please reply on list, do not CC people on list messages.

> Tux:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:A0:CC:D9:E2:48
>           inet addr:  Bcast:
> Mask:

Well - there you are.  Above is your eth0 IP address.  You should
correct your script to include as your eth0 address and,
as seen below, eth1 is ...

> [...]
> eth1      Link encap:Ethernet  HWaddr 00:A0:CC:D9:C7:6F
>           inet addr:  Bcast:  Mask:
> [...]


Please don't CC me on list messages!
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Attachment: signature.asc
Description: Digital signature

Reply to: