WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] (network-script network-nat)

> On 3/7/07, Franck <franck@xxxxxxxxxxxxxxxxx> wrote:
>> Hi,
>>
>> one little question
>>
>> In xend-config.sxp, i've this :
>> (network-script network-nat)
>> (vif-script vif-nat)
>>
>> In my domU config file, i've this
>> vif = [ 'ip=192.168.0.61' ]
>> ip="192.168.0.61"
>> netmask="255.255.255.0"
>> gateway="192.168.0.1"
>>
>> I'm starting domU and ALL work fine YAHOO.
>> BUT, because there's a BUT, in dom0, ifconfig like this :
>> vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>>           inet addr:192.168.0.188  Bcast:0.0.0.0  Mask:255.255.255.255
>>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:4 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>> What's this IP 192.168.0.188 ???
>
> The IP you had configured for eth0 of the dom0 host.

No, dom0 has DHCP and is 192.168.0.10

>
>> Is it possible having 192.168.0.61 instead ???
>
> No. You can't have two systems with the same IP address.
OK, thanks

Franck

> jerry
>
> --
> "Oh joy! Rapture! I've got a brain"
> -Scarecrow
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>


-- 
http://www.linuxpourtous.com


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>