Networking :: Double Natting With Vmware?
Aug 28, 2010
I have a virtual machine in a natted interface vmnet2. Ports are forwarded correctly into the virtual machine, but my host does not forward correctly the ports to the outside world. for example, when checking if the port is open i sniffed on the phyisical interface and saw only the "syn" packet going to the virtual interface. Inside the virtual interface i saw the same "syn" packet. the virtual machine replied with "syn, ack" and then it got a "rst" from my host.what could go wrong? how come this "syn, ack" packet not going back to the physical interface?
View 2 Replies
ADVERTISEMENT
Mar 22, 2011
I've got the following two subnets.
Code:
Subnet 1: 10.1.0.0/24
Subnet 2: 172.16.0.0/24
A machine in subnet 1 is natted to a static address in subnet 2. For instance 10.1.0.10 is natted to 172.16.0.10.
I have achieved this with the following iptables rule. (in addition to enabling forwarding)
Code:
iptables -t nat -A POSTROUTING -s 10.1.0.10 -j SNAT --to 172.16.0.10
So far this works perfectly. What I want to do now is to add another rule that only nats the machine in case it is NOT accessing subnet 1.
In other words, when this machine accesses any other machine in subnet 1, it should show up as 10.1.0.10. Whenever it accesses subnet 2 of anything else, it should appear as 172.16.0.10.
View 1 Replies
View Related
Jun 19, 2010
My laptop's been locking up in Linux (Ubuntu, Backtrack, Puppy) periodically for a while now. When it locked up, it was always immune to the magic of SysRq, which I thought might indicate a hardware problem. It became so bad that I had to stop using the laptop.
Today, when I turned it on and tried to boot into Fedora 12, I got the following error (just once, it just locked up at various points during the splash screen after this once):
double fault: 0000 [#1] SMP
last sysfs file:
CPU 0
odules linked in:
Pid: 1, co m: swapper Not ta nted 2.6.32.11-99.fc 2.x86_64 #VGN-T 250N
RIP: 0010:[<ff
All the seemingly missing letters were really missing, not my typos.
As you can see, kernel version is 2.6.32.11-99.fc12.x86_64 and my laptop is a Sony Vaio TZ 250N (Core 2 Duo ULV 1.2GHZ). Note that with the other remaining kernels from the updates, nothing ever happened other than the locking up. The core temperatures hover pretty high, about 55-60C peak but this is still below the critical temp. Memtest came up clean when the problem first started happening.
View 3 Replies
View Related
Aug 3, 2010
Ok, so I am needing some drivers and I've been googling like hell to find em, however, I can never seem to find any. My adapter model is F6D6050v1.
PS: when I try sudo ndisgtk it comes up with command not found.
View 1 Replies
View Related
Feb 2, 2011
I am having a problem with HTTPs in a double NAT'd network configuration. The scenario is like this..
[Code]...
Machines on these LANs can talk to each other no problem. There is also a NAT rule configured for traffic going from LAN A via LAN C out to the Internet. The Nokia is also doing NAT'ing. Normal web browsing works fine with this setup, but whenever I try to access HTTPS sites, it just hangs and eventually times out.Packet captures have showed lots of TCP Retransmission messages. If I logon directly to the Linux Router and fire up a browser, I am able to access HTTPS sites without any problems. This appears to be something to do with the traffic being NAT'd twice. Is there a way I can get around this without changing the config of the Nokia?
View 1 Replies
View Related
Apr 27, 2010
I would like to set a double range of IP address with my DHCP3-server. Now, I have eth0 (which is my only network card) with this IP address : 172.16.93.1 and I have created a second interface eth0:1 with this address: 192.168.3.1. The goal is to give an IP address 172.16.93.X to phones (with option 66) and the IP address 192.168.3.X to the computers.
This is my DHCPD.conf :
ddns-update-style none;
option domain-name "mycompany.com";
option domain-name-servers 172.16.93.1;
default-lease-time 3600;
max-lease-time 2347200;
authoritative;
log-facility local7;
option ip-forwarding off;
default-lease-time 20;
max-lease-time 20; .....
Right now my DHCP server work fine, (I means, no error at the startup ) but the server give always the same kind of IP address, whatever if it's a phone or a computer. I notice something "wired", if I put the :
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.100 192.168.3.199;
option routers 192.168.3.254; }
(Which is first in the dhcpd.conf) after the "subnet 172.16.93.0 netmask 255.255.255.0", the server will give IP address 172.16.93.X at all the clients. Is it possible to give more than one IP range with one network card at the same time? And how set the option 66 to only give IP address (172.16.93.X) to the phones?
View 4 Replies
View Related
Jun 6, 2010
In bash I need to use some equivalent of double quotes inside double quotes (or the other way around.)I need to run the following statement to get the output of foo and store it in a variable while passing foo the $file which probably contains spaces.
Code:
variable=$(foo "$file")
The problem is that foo might return an empty string and if it does I need to catch it
[code]...
View 6 Replies
View Related
Mar 17, 2011
Is it possible to install Snow Leopard 10.6.6 VMware AMD edition (which I downloaded) on VMware linux? It is under Windows 7 so I just need to know if everything of VMware linux (like Hardware Virtualization) is the same under linux as for Windows.
View 1 Replies
View Related
Jun 6, 2011
I want to install debian on vmware workstation 7.1.4 but there's a problem! when I try to install vmware tools or open-vm, it can't complete compile modules of vmware. It is a big problem... It seem problem of kernel version after 2.6.37... But I can't find solution. logs.... Before you can compile modules, you need to have the following installed...
[Code].....
View 2 Replies
View Related
Jul 17, 2011
I have installed the latest version of Ubuntu Linux (11.04) into latest VMware workstation (7.1.4 build-385536). I have tried to install the VMware tools ISO that came with VMware workstation but It didn't work and the installation seemed real sloppy anyways.
I installed the open VMware tools from synaptic within the guest linux and restarted, everything seemed to have been installed just fine but VMware Workstation doesn't detect it. I'm not sure if the tools are outdated, silent errors happened, or if any manual post installation steps need to be taken.
getting any form of VMware tools to run in Linux and detected by VMware Workstation.
View 3 Replies
View Related
Jul 27, 2011
I completed the installation of VMWare Server 2.0.2 onto a CentOS 5.4 64-bit distribution. There is a VMware virtual machine file on the server in question, and I want to activate it through the application console.
I did not see anything readily apparent that would facilitate the importing of the virtual machine file. Does anyone have a procedure that can accomplish this task?
View 5 Replies
View Related
Oct 3, 2010
I have been using VMware Player for some time to host Fedora VMware images on Windows XP. I have been using Fedora 11 and 12 (both 32 and 64 bit) and recently started to use Fedora 13.
I use as a base the images provided by thoughtpolice. http://www.thoughtpolice.co.uk/
I usually install VMware tools and also keep the images updated (yum update) which sometimes changes the kernel.
I have recently had problems with the snapshots not having a network when I restore them. So far I don't have the problem with Fedora 11 and do have it with Fedora 12 (but used not to). I do have it with Fedora 13.
In each case the problem goes away when I uninstall the VMware tools and comes back when I install them again.
One of the symptoms is that SElinux complains about not being able to do something with /var/run/vmware-active-nics.
It looks to me that something is incorrect in the actions being taken when the snapshot is being restored. It does not happen every time and sometimes the network restores itself.
The network can be restored by rebooting the image.
View 12 Replies
View Related
Aug 5, 2010
I'm trying to access the VMWare console from firefox using the VMWare plugin. The problem is that it doesn't work on Firefox version 3.6.8. So how can I access the console?
View 2 Replies
View Related
Mar 28, 2009
I am running an up to date Debian Lenny system with vmware 1.08 server installed.
When I run vmware, it appears to start normally. However, when I try to open a previously created image (from a different machine), everything is fine until I hit browse, which causes a screen to pop up that syas "The folder contents could not be displayed VFS error: Invlalid paramteres." and the following shows up on the command line:
Code:
View 1 Replies
View Related
Feb 21, 2015
I am attempting to install Debian via the netinstall as a VMWare workstation Guest. I cannot get the Network portion to work. I am using NAT and assigning a static IP address. This works on all my Windows Virtual Machines and I have gotten it to work to Install Fedora as well as CentOS. Here is the information from other installs.
IP: 192.168.28.XX
Subnet Mask: 255.255.255.0
Gateway: 192.168.28.2
Nameserver: 192.168.28.2
If I use this information during installation of Debian it does not work. It always gives an error that it cannot connect to the download repositories. I am wanting to setup a machine to use in product for Git/SVN & Redmine and want to evaluate Debian vs CentOS vs Fedora for this purpose.
View 1 Replies
View Related
Mar 22, 2010
I'm running Ubuntu 9.1 i386 in test with Vmware 2.0.2. I used Radu Cotescu's patch and instructions to get vmware installed. Everything seems to be running fine in the guest machine (CentOS 5), except I can't ssh from the Ubuntu host to the guest machine.
This guest is a clone of one that is running under on my Ubuntu 8.1 host and networking is fine there. I'm wondering if there were changes to routing or bridging in Ubuntu 9.1 to cause this. I've been digging through google for a while, but haven't seen others reporting any issues. This is definitely particular to Karmic Koala though.
The host's routing table is:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
192.168.0.0 * 255.255.255.0 U 0 0 0 vmnet3
[code]....
My routing table on the Ubuntu 8.1 host differs by the link-local line only, and the guests are exactly the same.I can ssh from the guest into the host, as 192.168.0.2 is the hosts ip on the vm network. The host should be able to ssh to the guest as it does in Ubuntu 8.1.
View 2 Replies
View Related
Jan 15, 2011
Bear with me cos i'm just learning this stuff.
I've set up a couple of virtual networks with vmware workstation and experienced the same problem each time. I'll explain the one i'm working on now.
Machines -
Host - Slackware 13.1, VMware workstation 7.x.
VM1 - Vyatta (router).
VM2 - WinXP (client).
[Code]....
BUT I can't ping the XP client from the virtual router, and from the host I can't ping the virtual router.
Why is this?? I assume i've done something wrong but I don't know what.
View 3 Replies
View Related
Aug 5, 2010
I installed OEL4 on both of my Laptops using VMware with Windows 7 as HOST.
I want to configure RMAN. So I need individual IP addresses.
Now how can I ping these both Linux (OELs) from VMwares.?
How to configure the network b/w these two? I have a Ethernet cable. (No router)
In simple:
How to ping two Guest OSs (which are installed on two diff Laptops) which are in VMware with windows 7 as Host.?
View 3 Replies
View Related
Jan 4, 2009
I want to run a mail server from within debian linux guest with vmware workstation xp host. The setup is a bridged network connection
Here are things that need to be done:
a)Configure the Guest with a static IP on my home network. Verify that I can telnet to port 25 of the Guest from a system on my home network.
b)Then configure my home firewall/NAT box to forward incoming connections on TCP port 25 to the static IP address I gave my Guest. Then test that I can telnet to port 25 from a system outside my home network.
c)After that I need to configure the appropriate DNS records for my domain so that outside hosts know how to contact my mailserver.
View 7 Replies
View Related
Sep 14, 2010
I have VMWare on a notebook, guest Windows running on Linux host. The network in that virtual machine is configured as NAT. I want to share/transfer files from Linux (host) to Windows (guest). So I leave sshd always running on the notebook, I go into Windows and run an SSH/SFTP program. My Wifi router has address 192.168.1.1, my desktop has address 192.168.1.2 and my notebook has address 192.168.1.3. On the notebook, that SSH/SFTP program connects to 192.168.1.3 (i.e. the notebook itself) and everything works fine. But it's a notebook, and when I leave home with it, 192.168.1.3 is no longer accessible. How can I let the guest OS connect to the host OS when I'm away from my Wifi network?
View 1 Replies
View Related
Dec 6, 2009
MY OS IS (Widnows XP ) I'm Using VMware Workstation 7 to run My BT4-Beta (backtrack 4)
in my OS Windows XP I have Internet I'm in big network our administrator using Cyberoam Client for Corporate to allow people using Internet.. so if any people connect this network they should has id in Cyberoam if they don't has id will can't connect to the internet.. they will redirect automatically to the log in page in Cyberoam.
So ! in VMware Workstation 7 i configure network adapter to Bridged and i see internet icon with green color but dose not browse internet and also i can't ping my computer this is mean network dose not appear to backtrack my computer is in the network when i try to do ping this is what happened.
And this output to try run network!
PHP Code:
And this is my ifconfig
How to do Step by Step to connect the network using VMware WorkStation!
View 3 Replies
View Related
Apr 4, 2010
My special networking configuration.
The case: I'm running two dedicated Linux servers (openSUSE). Both servers are connected through public IP addresses to the internet. Each server hosts a VMware with another Linux inside.
SRV1 and SRV2 are the entry points for OpenVPN from external clients. SRV1 and SRV2 are although connected through an OpenVPN connection for save data sharing.
My problems:
SRV3 can't connect to SRV2 and SRV4.
SRV4 can't connect to SRV1 and SRV3.
External OpenVPN clients connected to SRV1 can't reach SRV2 and SRV4.
External OpenVPN clients connected to SRV2 can't reach SRV1 and SRV3.
Here are my configurations:
Code:
Code:
Code:
Code:
View 1 Replies
View Related
Apr 11, 2010
I am using ubuntu on a vm with 2 network eth0 ( internet, getting the ip by dhcp on modem adsl) and eth1 (10.1.1.1). In other vm an windows machine with 10.1.1.2 / 255.255.255.0 / 10.1.1.1 /10.1.1.1). I can ping to linux and windows with no problem. Then to share I used
modproble iptable_nat
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
But I still cant connect to internet on windows vm.
View 1 Replies
View Related
Sep 21, 2010
im running suse 11.3_x64 clean install along side with Win7 Pro _x64 had a big fight installing Vbox 3.2.8 PUEL edition but i need to test some VMWare products like 'VMWare vShpere (ESXi 4..0.1 - which i couldn't install in a vm in Vbox) ' before putting it in production enviroment in some of my clients. version: VMware-Workstation-Full-7.0.0-203739.x86_64 The installation of vmware was quite simple with no errors. the problem kicks in after the first reboot when i try to run it. before installing vmware i installed the following:
[Code]..
When i try to run vmware workstation the 1st error kicks in: Before you can run vmware, several modules must be compiled and loaded into the running kernel:
[Code]...
View 9 Replies
View Related
May 28, 2010
Im using fedora 13 x64 install from DVD. Has anyone else found problems using vmware 7.0.1 or 7.1. My bridged networking will not pickup a dhcp address, and even if I configure static my network will still not work, yet NAT works fine. Even configuring bridged to use a dedicated device doesnt work. Workstation worked fine on Fedora 12 but this seems to be a reoccuring problem in every other release.
View 5 Replies
View Related
Aug 16, 2011
I am running a Ubuntu Linux VM using VMware Player on a Windows 7 host.
I don't want to connect directly to the network or use NAT; I need host-only networking but also need Internet access. How can I do this?
View 2 Replies
View Related
Feb 16, 2010
I'm running Ubuntu 8.04.3 server on my XP Pro SP3 machine using VMWare. I'm trying to set up a static IP address but I can no longer ping anything except my router (not even the XP machine it's hosted on). I'm using "bridged" mode in VMware
Here's my /etc/network/interfaces file:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
View 4 Replies
View Related
Apr 9, 2010
I am not able to connect to the internet via Ubuntu guest in Vmware Workstation. Here is the ipconfig:
Here is the ifconfig -a:
I have the vmware os settings to connect through a nat connection and I am able to ping domains however I am unable to open a page in either firefox or chrome.
View 1 Replies
View Related
Dec 18, 2010
I am testing with Suse Linux Enterprise Server 10 in a VMWare environment. I've installed two SLES10 servers, named sles1 and sles2. I can't get the two servers to communicate, even a simple ping won't work. The "Network Adapter" in VMWare is set to "bridged", a setting which has worked fine when installing WinXP in VMWare and connecting to the Internet. I have configured the Network Settings as follows:
SLES1:
-Statically assigned IP Address
-IP-address: 192.168.0.20
-Subnet: 255.255.255.0 (/24)
-Hostname: sles1
Hostname/DNS tab:
-Hostname: sles1
-Domain Name: local
-Name server: blank
Routing tab:
-Default Gateway: 192.168.0.1 (= my router connected to the Internet)
SLES2: same as sles1, with IP 192.168.0.22 and Hostname sles2
With these network settings, the two servers seem totally unable to communciate.
-When I ping sles2 from sles1, I always get the error message: connect: Network is unreachable
-Whatever way I ping, either ping sles2, ping sles2.local, ping 192.168.0.22, whatever, the error message is always the same.
-Even if I ping sles1 from sles1 (= "pinging myself"), I get the same error message.
-Only if I ping localhost, I get a proper ping result.
View 3 Replies
View Related
Jul 28, 2009
I am running VMware workstation on a Linux host and WinXP guest using NAT. I have shared a folder on WinXP, and I am able to mount it on the linux host with:
mount -t smbfs -o username=Administrator,password=mypasswd //192.168.100.129/Shared /mnt/tmp
This works fine. However, I want to mount the same folder from a different linux machine (not the host).
I added port forwarding in /etc/vmware/vmnet8/nat/nat.conf:
[incomingtcp]
#445 = 192.168.100.129:445
If I run:
mount -t smbfs -o username=Administrator,password=mypasswd //external_ip_number/Shared /mnt/tmp
I am getting:
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
It doesn't work even if I try the above command from the linux host itself. It only works if I use the internal IP number. I suspect vmware is not forwarding port 445 but I am not sure how to verify it. I am not running smbd on the linux host, in case that make any difference. I didn't think that was required because the server is really on the WinXP and the linux is just a client.
View 3 Replies
View Related