View Single Post
  #1   (View Single Post)  
Old 17th June 2010
maxleonca maxleonca is offline
New User
 
Join Date: Jun 2010
Posts: 3
Default Setting up static IP fails + some XEN advice needed.

Hi,
Here I go again, this time is something even more basic.
I just cannot setup through regular method an static IP.

I have my /etc/mygate which contains the IP of the router (192.168.1.1).
This is the output of ifconfig -ls:
Code:
root@xenhost:>#ifconfig -ls
wm0 lo0
I have my /etc/ifconfig.wm0 which contains:
Code:
inet 192.168.1.5 netmask 255.255.255.0 media autoselect
And I have my /etc/resolv.conf
Code:
search home.local
nameserver 192.168.1.1
As you can imagine the router is a dns proxy as well.

Now at reboot I can see that fails to setup the ip, get all the usage of ifconfig and then a message that complains about not being able to setup the default gateway because the network is unreachable.

I had to setup rc.local calling a very basic script that will execute the CLI commands to configure the NIC but to be honest it bother the hell out of me.

On another page, I'm trying to setup XEN 3.3.x on NetBSD 5.0.2 but it seems to be a problem with the xenkernel33 that is not PAE enabled while the netbsd-XEN3_DOM0 is PAE enabled.
Is there any guide out there that might help me recompile the xenkernel or to tweak something so will be PAE enabled once compiled?

Thanks.
Reply With Quote