VMthinker
Contributor
Contributor

Configuring Simple network with Vyatta on ESXi Server

Hi there I need to setup a simple network as shown in the picture whereby the machines in LAN 1 and LAN 2 needs to be able to connect to the internet (Able to surf the internet) through Eth0. The current Vmware server I am using now is the ESXi server. Please take note of the 3 Virtual Switches created. I have tried almost all the codes including "Nat" and "Static Routing" codes but nothing seems to be working. I have also checked the ports which are all up and running. Please do help me by posting some useful commands which I am able to use. Thanks.

interfaces {

ethernet eth0 {

address 192.168.11.19/24

duplex auto

hw-id 00:0c:29:90:5f:5f

smp_affinity auto

speed auto

}

ethernet eth1 {

address 192.168.1.1/24

duplex auto

hw-id 00:0c:29:90:5f:69

smp_affinity auto

speed auto

}

ethernet eth2 {

address 192.168.2.1/24

duplex auto

hw-id 00:0c:29:90:5f:73

smp_affinity auto

speed auto

}

loopback lo {

}

}

protocols {

static {

route 0.0.0.0/0 {

next-hop 192.168.11.13 {

}

next-hop 192.168.11.19 {

}

next-hop 192.168.11.100 {

}

}

}

}

service {

https

nat {

rule 1 {

destination {

address 0.0.0.0/0

}

outbound-interface eth0

protocol all

source {

address 192.168.1.0/24

}

type masquerade

}

}

telnet {

allow-root

port 23

}

}

system {

gateway-address 192.168.1.100

host-name Router1

login {

user vyatta {

authentication {

encrypted-password $1$7fpzaYr/$IA90PGiC6uE4o7MBKeorG.

plaintext-password ""

}

level admin

}

}

name-server 202.138.9.15

name-server 202.138.9.16

ntp-server 0.vyatta.pool.ntp.org

package {

auto-sync 1

repository community {

components main

distribution stable

password ""

url http://packages.vyatta.com/vyatta

username ""

}

}

syslog {

global {

facility all {

level notice

}

facility protocols {

level debug

}

}

host 192.168.11.12 {

facility all {

level info

}

facility daemon {

level info

}

facility security {

level info

}

facility syslog {

level info

}

}

}

time-zone GMT

}

The above code is the one that I have configured previously and is still not working. My Vyatta router/VM image is able to ping my "Desktop" image at 192.168.1.2/24 however my "Desktop" image is unable to ping my vyatta port Eth0 at 192.168.11.19/24.

0 Kudos
1 Reply
VMthinker
Contributor
Contributor

Refer to similar post in vNetwork.

0 Kudos