[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] no ssh login
As xenbro starts automatically everytime I reboot the machine, so I have to comment off the network-bridge and vif-bridge, and uncomment the vif-nat in the xend-config.sxp, I modified the vif-nat file, change the the ip address to 192.168.3.0, but when I restarted the machine, the ifconfig shows as following: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.1 0.0.0.0 255.255.255.255 UH 0 0 0 vif1.0 192.168.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 vif1.1 182.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 182.20.127.255 0.0.0.0 UG 0 0 0 eth0 I couldn't find a way to change the netmask to 255.255.255.0, How Can I change the netmask address?. If I comment of the (vif-nat) in the xend-config.sxp, then xden domains won't be able to start, claim can't dinf device(0) for vif. When I run ifconfig vif1.0 192.168.3.1 netmask 255.255.255.0 up and ifconfig vif1.1 down, I got ifconfig as following: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 vif1.0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 vif1.0 182.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 182.20.127.255 0.0.0.0 UG 0 0 0 eth0 When I login to vm01, no ssh connection to any remote client. The remote client still can ssh to dom0. On Wed, 18 Jan 2006, Jayesh Salvi wrote: > Date: Wed, 18 Jan 2006 10:12:17 -0600 > From: Jayesh Salvi <jayeshsalvi@xxxxxxxxx> > To: B. Liu <bl246@xxxxxxxxxxxxxxxx> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx > Subject: Re: [Xen-users] no ssh login > > Your dom0 routing table is still routing the traffic to your bridge from old > setup. use brctl to remove xenbr0 you have. > Then try: > ifconfig vifx.y 192.168.3.1 netmask 255.255.255.0 up (Alternatively after > removing xenbr0 if you create a new domU the ifconfig will have done this > step automatically, picking up some IP address for new vif) > This step should also have corrected your routing table. > > Then you will have to update your domU routing table so that it now routes > the traffic to the new gateway. > If you run into problems while doing this, post output of your ifconfig and > route -n at that point. > Bin _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |