(E-Mail Removed) wrote:
> Hi there,
> sorry for the newbye question.
>
> Im trying to setup my linux (knoppix 3.3 kernel 2.4.24) as a router.
>
> I have different PCs having different IP addresses like:
> 10.223.29.x 255.255.255.0 gw 10.223.29.1
> 10.223.30.x 255.255.255.0 gw 10.223.30.1
> 10.223.31.x 255.255.255.0 gw 10.223.31.1
>
> and my linux to which i assigned three different IPs to the same eth0
> NIC:
> eth0 ip= 10.223.29.1 nm =255.255.255.0
> eth0:1 ip=10.223.30.1 nm=255.255.255.0
> eth0:2 ip= 10.223.31.1 nm=255.255.255.0
>
> which i want to be the router for all the PCs. All the PCs are
> connected to the same physical network.I'd like that all the PCs may
> "talk" each other.
>
> I also put "1" in /proc/sys/net/ipv4/ip_forward.
>
> It's not enough! What do i have to do more?
OK.
The crystal ball is being repaired, so we need
some information of the set-up:
Are the 'PCs' Windows machines?
Can you ping the Linux machine from the PCs?
Can you ping the PCs from the Linux machine?
What do you mean by "it's not enough"?
What did you try that did not work?
Does your Linux machine have a firewall set up?
Please note that a Windows SMB network is intended to
be in a single subnet without extra measures taken on
the Windows side (which is off-topic here), so it
is not intended to work in a network like this.
Please post the responses of the Linux machine for the commands:
ifconfig -a
route -n
iptables -nvL
Please copy, do not attempt to interpret or modify the responses.
--
Tauno Voipio
tauno voipio (at) iki fi