How to set static IP in Suse 10
I need to set a static IP in Suse 10 and am having a bit of trouble. I set the IP in Yast but I then lose that abiltity to go online. I go to Yast > Network devices > network card. I edit the card and give it a static IP and that works fine. I then go to 'Host Name and Name Server' and add the DNS info (151.196.0.38, AND .39) that I get from the router and add it to 'Name Server' 1 and 2. What should I put in the 'Name Search' 1 and 2 boxes?
Whatever I am doing I am doing wrong as I can not go online once I am done. I know that the info is right as I have a WinXP machine set up with a static IP and that one works fine. Thanks. Todd |
Name search is the name of the domain your nameservers are on: xxxxxxxx.com. If, and I assume you are by what you've supplied, you are going to the internet through a router, you give the 'route' the router uses to connect to the outside world: 192.168.3.1 or some such.
|
Under the router settings in YaST, put in your default gateway. This will be the internal IP of your router. Most likely 192.168.x.x or similiar.
|
You can always add your DNS the old fashioned way:
Code:
route add default gw 192.168.0.1 |
So under 'Name Server 1' and 'Name Server 2' I would put 151.196.0.38 and 151.196.0.39 which I got from the router (primary and secondary DNS).
As far as 'Domain Search 1' and 'Domain Search 2' I need the name of the domain that my nameservers are on, this part has me a bit lost. I am using Verizon DSL and you use the form xxxxxxxxxx.com. Can I assume that that would be verizon.net? I am not sure how to handle that part. Thanks. Todd |
All times are GMT -5. The time now is 05:42 PM. |