Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: networking trouble



You dont need 2 NICs. It will also work fine with an aliased IP. Also it might
make things clearer if another IP range is used for the local network (10. or
172.).

And yes, I did manage to get this setup, including NAT, working without problem
inside VMware.

asz


Jonathan Q wrote:

> If the "ISP" is only giving you one IP address, obtained by
> dialup, then a setup like the one below should work.  Note
> that this requires two NICs in your desktop machine.  It's
> just like dialing into a real ISP that assigns an IP address
> to the dialup host.  If you want more machines on the link,
> the dialup host has to NAT for them:
>
> ***************
> dialup        *  phone line|               eth0 *****************
> access        *---------------------------------*Your desktop   *
> server        *            |       192.168.1.83 * machine       *
> 192.168.1.254 *                                 *****************
> ***************
>                                                  | eth1 (192.168.2.1)
>                                                  |
>                                                  | eth0 (192.168.2.2)
>                                      *****************
>                                      * Your notebook *
>                                      *         ***************
>                                      *****************       *
>                                                *    VMWare   *
>                                                * 192.168.2.3 *
>                                                ***************
>
> In this example, the desktop is being assigned 192.168.1.6 by the
> access server.  It's gateway is 192.168.1.1
>
> The desktop serves as the NAT box for the notebook machine.
>
> Network 192.168.2.0/24 is connected to eth0 on the
> desktop, and is NATted.
>
> The notebook's eth0 has address 192.168.2.2, and it's
> gateway is 192.168.2.1.
>
> In VMWare, give Windows 192.168.2.3 for its virtualized NIC
> as presented to it by VMWare.  It's gateway will also be
> 192.168.2.1.
>
> Jonathan
>
> -----------------------------------------------------------------------
> Next Technical Meeting:  Sat, May 12 13:30-
> Next Nomikai Meeting:    Fri, June (TBA) 19:30- Tengu Tokyo Eki Mae
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links