Hello list, I''m using xen2.6 with a 2.6.11 kernel my config: kernel = "/boot/vmlinuz-2.6.11-xenU" memory = 1280 name = "s51" nics=1 vif = [ ''ip=82.149.232.51,mac=00:E0:81:29:71:3D'' ] disk = [ ''file:/home/xen/51/diskimage,sda1,w'', ''file:/home/xen/51/swapimage,sda2,w'', ''file:/home/xen/51/homeimage,sdb1,w'' ] dhcp="off" ip="82.149.232.51" netmask="255.255.254.0" gateway="82.149.232.48" hostname= "51.xen2.ckras.com" root = "/dev/sda1" extra = "3" iptables -L -n ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in eth0 ACCEPT all -- 82.149.232.51 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0 udp spt:68 dpt:67 82.149.232.51 works (dhcp) , but 82.149.232.57 not: in s51/etc/network/interfaces: auto eth0:1 iface eth0:1 inet static address 82.149.232.57 netmask 255.255.255.0 iptables -L -n is missing this line: ACCEPT all -- 82.149.232.57 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0 xm vif-list s51 (vif (idx 0) (vif 0) (mac 00:e0:81:29:71:3d) (vifname vif19.0) (ip 82.149.232.51) (evtchn 12 4) (index 0)) from my xen0 i can ping the .57 ip, but not from extern. how can i create it? Frieder Kundel btw. sorry for my bad english ;) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Frieder Kundel wrote:> Hello list, > > I''m using xen2.6 with a 2.6.11 kernel > > my config: > kernel = "/boot/vmlinuz-2.6.11-xenU" > memory = 1280 > name = "s51" > nics=1 > vif = [ ''ip=82.149.232.51,mac=00:E0:81:29:71:3D'' ] > disk = [ ''file:/home/xen/51/diskimage,sda1,w'', > ''file:/home/xen/51/swapimage,sda2,w'', > ''file:/home/xen/51/homeimage,sdb1,w'' ] > dhcp="off" > ip="82.149.232.51" > netmask="255.255.254.0" > gateway="82.149.232.48" > hostname= "51.xen2.ckras.com" > root = "/dev/sda1" > extra = "3" > > iptables -L -n > ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV > match --physdev-in eth0 > ACCEPT all -- 82.149.232.51 0.0.0.0/0 PHYSDEV > match --physdev-in vif16.0 > ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV > match --physdev-in vif16.0 udp spt:68 dpt:67 > > > 82.149.232.51 works (dhcp) , but 82.149.232.57 not: > > in s51/etc/network/interfaces: > auto eth0:1 > iface eth0:1 inet static > address 82.149.232.57 > netmask 255.255.255.0 > > iptables -L -n is missing this line: > ACCEPT all -- 82.149.232.57 0.0.0.0/0 PHYSDEV > match --physdev-in vif16.0 > > xm vif-list s51 > (vif (idx 0) (vif 0) (mac 00:e0:81:29:71:3d) (vifname vif19.0) (ip > 82.149.232.51) (evtchn 12 4) (index 0)) > > from my xen0 i can ping the .57 ip, but not from extern. > > > how can i create it? > > Frieder Kundel > > btw. sorry for my bad english ;) > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersone command: iptables -A FORWARD -m physdev --physdev-in vif19.0 -s 82.149.232.57 -j ACCEPT but why doesn''t xen do it auto. ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users