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

RE: forcing a specific IP



>>>>I followed the instructions and restarted the computer (was it a
must?
>>>>I thought Linux doesn't require that).
>>>>With ifconfig I saw that the new IP was given - but no internet
>>>>connection was established.
>>>>What else could I miss?
>>>>
>>>Did you set your gateway in your Linux box?? and what about your
DNS??
>>>
>>[<Yigal>] The only thing I did was to set the IP.
>>
>1) you have to set the Gateway on the PC's on your network....
>2) you have to start NAT (Network Address Translation) on the PC that
is
>the gateway to the Internet
>3) BUT WHAT IS MORE IMPORTANT: YOU HAVE TO START A FIREWALL (IPTABLES)
>ON THE GATEWAY BOX
>
>I suggest to have a look at www.netfilter.org and then come back here.
>
>You will be on the Internet in a really short time....

[<Yigal>] I use router (edimax) - and it general it works fine. I set
the pool to be between 192.168.2.110 till 200 (for the PCs that take the
IP automatically).
For the Linux machine - I want to have specific IP (e.g. 192.168.2.100).
Currently the Linux works fine with auto-IP.
I know how to change it to the needed IP(192.168.2.100) - what should I
put in mask? 255.255.255.0 ? and what about the DNS field ? 



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