[olug] CentOS?

Daniel J Griffiths (Ghost1227) ghost1227 at archlinux.us
Thu Aug 19 06:34:01 UTC 2010


My other VMs on hetzner all needed .255 to work

On Thu, Aug 19, 2010 at 1:08 AM, Kevin <sharpestmarble at gmail.com> wrote:

> I think this is our problem: your Mask is incorrect(according to my
> fully functional system. I have a RHEL/CentOS box serving as
> firewall/router for several physical machines(no virtuals, though),
> all of whom can access the Internet.
>
> If your system is set with static IPs, then edit the file
> /etc/sysconfig/network-scripts/ifcfg-eth0 on both host and guest and
> change the line:
>    NETMASK=255.255.255.255
> to
>    NETMASK=255.255.255.0
> This is assuming you have a 256-IP block of addresses. If you have
> fewer, then adjust accordingly.
>
> On Thu, Aug 19, 2010 at 00:48, Daniel J Griffiths (Ghost1227)
> <ghost1227 at archlinux.us> wrote:
> > HOST -
> >
> > eth0      Link encap:Ethernet  HWaddr 40:61:86:CB:F8:6E
> >          inet addr:78.46.78.247  Bcast:78.46.78.255  Mask:255.255.255.255
> >          inet6 addr: fe80::4261:86ff:fecb:f86e/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:53950640 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:53718427 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:1000
> >          RX bytes:47042962858 (44863.6 Mb)  TX bytes:44087856697 (42045.4
> > Mb)
> >          Interrupt:30 Base address:0x6000
> >
> > kvm0      Link encap:Ethernet  HWaddr 0A:FF:D9:65:F3:47
> >          inet6 addr: fe80::8ff:d9ff:fe65:f347/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:29557513 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:30756196 errors:0 dropped:123 overruns:0 carrier:0
> >          collisions:0 txqueuelen:500
> >          RX bytes:23326839009 (22246.2 Mb)  TX bytes:30502376731 (29089.3
> > Mb)
> >
> > kvm1      Link encap:Ethernet  HWaddr 82:BE:BB:AE:97:E1
> >          inet6 addr: fe80::80be:bbff:feae:97e1/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:19346471 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:16714342 errors:0 dropped:231 overruns:1 carrier:0
> >          collisions:0 txqueuelen:500
> >          RX bytes:20224723594 (19287.7 Mb)  TX bytes:10507856737 (10021.0
> > 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:146 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:146 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:0
> >          RX bytes:17906 (17.4 Kb)  TX bytes:17906 (17.4 Kb)
> >
> > GUEST -
> >
> > eth0      Link encap:Ethernet  HWaddr 20:24:21:29:F6:46
> >          inet addr:78.46.78.249  Bcast:78.255.255.255
>  Mask:255.255.255.255
> >          inet6 addr: fe80::2224:21ff:fe29:f646/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:14732 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:965 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:1000
> >          RX bytes:1023474 (999.4 KiB)  TX bytes:45080 (44.0 KiB)
> >
> > 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:71 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:0
> >          RX bytes:9430 (9.2 Kb)  TX bytes:9430 (9.2 Kb)
> >
> > GUEST arp -an - ? (78.46.78.247) at 82:BE:BB:AE:97:E1 [ether] on eth0
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > https://lists.olug.org/mailman/listinfo/olug
> >
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



More information about the OLUG mailing list