Gentoo Archives: gentoo-user

From: Norberto Bensa <nbensa@×××.net>
To: gentoo-user@l.g.o
Cc: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] iptables configuration problem
Date: Mon, 14 May 2007 15:11:34
Message-Id: 49402.192.168.1.200.1179154714.squirrel@webmail.bensa.ar
In Reply to: Re: [gentoo-user] iptables configuration problem by Chuanwen Wu
1 On Mon, May 14, 2007 8:23 am, Chuanwen Wu wrote:
2 > Thank you!I think i have done what you meant.
3 > Here is the information:
4 >
5 >
6 > /etc/conf.d/net in the server
7 > config_eth0=( "202.114.10.134 netmask 255.255.255.0 brd 202.114.10.255" )
8 > routes_eth0=( "default gw 202.114.10.129" )
9
10 OK
11
12 >
13 > config_eth1=( "192.168.1.63 netmask 255.255.255.0 brd 192.168.1.255" )
14 > routes_eth1=( "default gw 192.168.1.1" )
15
16 You don't need a route here.
17
18
19 > /etc/conf.d/net in one PC
20 > config_eth0=( "192.168.1.35 netmask 255.255.255.0 brd 192.168.1.255" )
21 > routes_eth0=( "default gw 192.168.1.1" )
22
23 No. GW should be 192.168.1.63, which is the IP address of your gateway.
24
25
26 HTH,
27 Norberto
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] iptables configuration problem Dan Farrell <dan@×××××××××.cx>