bala subramanyam vemu
2008-May-05 06:18 UTC
[Xen-users] Changing subnet mask doesn not work
Hi I have been using multi-net script did set up some networking but as part of network routing I want to change the netmask of the bridge xenroute0 I tried the following commands set xenroute0 netmask 255.255.255.0also modified the /etc/xen/networktab and the ip to 30.0.0.1 to 30.0.0.1/16 , I wanted the netmask of the bridge to be 255.255.255.0 can you please suggest me the right way of doing it below is the output of ifconfig**************************************************************eth0 Link encap:Ethernet HWaddr 00:19:D1:E1:6F:48 inet addr:164.99.96.72 Bcast:164.99.97.255 Mask:255.255.254.0 inet6 addr: fe80::219:d1ff:fee1:6f48/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10032 errors:0 dropped:0 overruns:0 frame:0 TX packets:10758 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:979077 (956.1 Kb) TX bytes:12085604 (11.5 Mb)lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:105249 errors:0 dropped:0 overruns:0 frame:0 TX packets:105249 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:221347989 (211.0 Mb) TX bytes:221347989 (211.0 Mb)peth0 Link encap:Ethernet HWaddr 00:19:D1:E1:6F:48 inet6 addr: fe80::219:d1ff:fee1:6f48/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:74566 errors:0 dropped:0 overruns:0 frame:0 TX packets:180508 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7799604 (7.4 Mb) TX bytes:201917644 (192.5 Mb) Base address:0x20c0 Memory:90300000-90320000vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2211 errors:0 dropped:0 overruns:0 frame:0 TX packets:942 errors:0 dropped:238 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:70252 (68.6 Kb) TX bytes:103004 (100.5 Kb)vif3.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:914 errors:0 dropped:150 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:508 (508.0 b) TX bytes:83244 (81.2 Kb)vif4.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:929 errors:0 dropped:91 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:508 (508.0 b) TX bytes:84326 (82.3 Kb)vif4.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:929 errors:0 dropped:91 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:508 (508.0 b) TX bytes:84326 (82.3 Kb)vif4.2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF 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:45 errors:0 dropped:984 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:4923 (4.8 Kb)xenroute0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:30.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:2340 (2.2 Kb)**********************************************Thanks in advance Subramanyam Thanking you Subramanyam _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users