starcraft
jing
gargamel.su-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Oct 2 19:42:27 UTC 2007
On 10/2/07, Chris Aitken <chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org> wrote:
> Does the following look okay?
>
> [chris at p733 ~]$ /sbin/ifconfig
> eth0 Link encap:Ethernet HWaddr 00:50:8B:D8:76:CD
> inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::250:8bff:fed8:76cd/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:64715 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8643 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:21563766 (20.5 MiB) TX bytes:1398987 (1.3 MiB)
>
> eth0:0 Link encap:Ethernet HWaddr 00:50:8B:D8:76:CD
> inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> 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:4328 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4328 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:21087617 (20.1 MiB) TX bytes:21087617 (20.1 MiB)
>
> vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
> inet addr:192.0.0.1 Bcast:192.255.255.255 Mask:255.0.0.0
> inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:283 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3143 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> --
Hi Chris,
I may be wrong since I'm not super knowledgeable about networks, but
the vmnet address doesn't appear to be right. It should be a private
address if it's providing your virtual machine with a NAT interface to
the outside world. I believe your VMNET address should be in the
192.168 range since that's a private address. Just make sure you pick
a subnet different from the subnet of your main NIC.
Here's what mine looks like. I have two VMNET interfaces, one Bridged
and one HostOnly. Don't worry about that part. What's important is
that if you want to NAT your VM, it should be contained in a private
subnet different from the subnet of your main NIC. My real ethernet
is on 192.168.1.*. My VM network interfaces are in 192.168.253.* and
192.168.254.*.
eth0 Link encap:Ethernet HWaddr 00:16:D3:26:40:CF
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:d3ff:fe26:40cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30656 errors:0 dropped:0 overruns:0 frame:0
TX packets:23835 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:39113874 (37.3 MiB) TX bytes:2968508 (2.8 MiB)
Base address:0x2000 Memory:ee000000-ee020000
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.253.1 Bcast:192.168.253.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list