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

VMware network setup



 
    
VMWare network setup:


[root@igloo /root]# ifconfig vmnet1
vmnet1    Link encap:Ethernet  HWaddr 00:50:56:01:00:00  
          inet addr:192.168.254.1  Bcast:192.168.254.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:439 errors:0 dropped:0 overruns:0 frame:0
          TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 

[root@igloo /root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
137.111.20.252  0.0.0.0         255.255.255.255 UH    0      0        0 eth0
137.111.20.128  0.0.0.0         255.255.255.128 U     0      0        0 eth0
192.168.254.0   0.0.0.0         255.255.255.0   U     0      0        0 vmnet1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
224.0.0.0       0.0.0.0         240.0.0.0       U     0      0        0 eth0
0.0.0.0         137.111.20.129  0.0.0.0         UG    1      0        0 eth0


Set up host-only network; don't install embedded samba in
VMWare; in guest OS - Windows 98:

	hostname:	igdlu
	domain:		its.unimacq.edu.au
	ipaddr:		192.168.254.2
	ipmask:		255.255.255.0
	gateway:	192.168.254.1
	winserver:	137.111.6.66
				137.111.17.10
	dns server:	137.111.20.2
				137.111.1.21


[root@igloo /root]# echo 1 > /proc/sys/net/ipv4/ip_forward

[root@igloo /root]# ipchains -P forward DENY

[root@igloo /root]# ipchains -A forward -j MASQ -s 192.168.254.2/255.255.255.0 -d 0.0.0.0/0

Google