linux router-> hardware router setting
Posted on 2004-09-12
i using a linux router which has 2 NIC...first NIC is connected to internet and the second is i want to connected it to the router which has wan port and 4 lan port.
my eth0 = is connected to the modem
my eth1 = ip : 192.168.1.1
netmask : 255.255.255.0
gateway : blank
( i didn't setup a dhcp )
so i succesfully connect this eth1 to a single pc by using cross cable. the pc is xp where i set the ip as 192.168.1.2, netmask 255.255.255.0 and gateway 192.168.1.1
but how do i connect the eth1 to the router? thru WAN port or to the LAN port?...if thru WAN port..which setting do i need to choose?...static ip, dynamic ip? or else?...what are the configuration do i need to set in the router such as ip netmask and gateway?
the router ip is 192.168.0.1 where i configure thru web configuration...