Configuring multiple virtual machines (junos)
thisisalex02
Member Posts: 136
in Juniper
Ok so i was able to get the vmware image of junos working, and access to the router using Named Pipe TCP Proxy
root@JunoZ> show version
Hostname: JunoZ
Model: olive
JUNOS Base OS boot [8.1R1.5]
JUNOS Base OS Software Suite [8.1R1.5]
JUNOS Kernel Software Suite [8.1R1.5]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.1R1.5]
JUNOS Packet Forwarding Engine Support (M20/M40) [8.1R1.5]
JUNOS Online Documentation [8.1R1.5]
JUNOS Routing Software Suite [8.1R1.5]
root@JunoZ> show interfaces terse
Interface Admin Link Proto Local Remote
dsc up up
em0 up up
em1 up up
em2 up up
em3 up up
gre up up
ipip up up
lo0 up up
lo0.16385 up up inet
inet6
lsi up up
mtun up up
pimd up up
pime up up
tap down up
My question is how do i get multiple olives to talk to one another? do i have to change vmware config file ? ive read http://www.smogey.net/tech/Juniper/Olive/index.htm and while it was a lot of usefull information, it does not include details on configuring multiple virtual machines to interact with one another.. can anyone point me in the right direction ? Thx guys
root@JunoZ> show version
Hostname: JunoZ
Model: olive
JUNOS Base OS boot [8.1R1.5]
JUNOS Base OS Software Suite [8.1R1.5]
JUNOS Kernel Software Suite [8.1R1.5]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.1R1.5]
JUNOS Packet Forwarding Engine Support (M20/M40) [8.1R1.5]
JUNOS Online Documentation [8.1R1.5]
JUNOS Routing Software Suite [8.1R1.5]
root@JunoZ> show interfaces terse
Interface Admin Link Proto Local Remote
dsc up up
em0 up up
em1 up up
em2 up up
em3 up up
gre up up
ipip up up
lo0 up up
lo0.16385 up up inet
inet6
lsi up up
mtun up up
pimd up up
pime up up
tap down up
My question is how do i get multiple olives to talk to one another? do i have to change vmware config file ? ive read http://www.smogey.net/tech/Juniper/Olive/index.htm and while it was a lot of usefull information, it does not include details on configuring multiple virtual machines to interact with one another.. can anyone point me in the right direction ? Thx guys
Switches are bridges on steroids!
Comments
-
Sa'ad Member Posts: 150 ■■■□□□□□□□to use and connect multiple routers in vmware, you have to use switches according to the instructions on this website http://www.smogey.net/tech/Juniper/Olive/index.htm. Even though the guy doesn't mention it, looking at his .vmx configuration file he uses switches. Once you understand how to use switches, you can connect as many as your computer cpu and ram allow you to. So far I've been able to connect upto about 5 routers after that my computer starts to slow down.
I have a toshiba satellite m45 with intel centrino 1.7 GH CPU and 1.5GB RAM.
Here is one of my tokyo router configuration file.
config.version = "8"
virtualHW.version = "6"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "256"
ide0:0.present = "TRUE"
ide0:0.fileName = "FreeBSD.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "D:"
ide1:0.deviceType = "cdrom-raw"
ethernet0.present = "TRUE"
ethernet0.VirtualDev = "e1000"
ethernet0.connectionType = "custom"
ethernet0.vnet = "VMnet2" <
Here this interface connects to switch two
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "FALSE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
svga.autodetect = "TRUE"
pciBridge0.present = "TRUE"
mks.keyboardFilter = "allow"
displayName = "Tokyo"
guestOS = "freebsd"
nvram = "FreeBSD.nvram"
deploymentPlatform = "windows"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "useGlobal"
floppy0.present = "FALSE"
ethernet1.present = "TRUE"
ethernet1.VirtualDev = "e1000"
ethernet1.connectionType = "custom"
ethernet1.vnet = "VMnet4" <
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet2.present = "TRUE"
ethernet2.connectionType = "bridged"
ethernet2.VirtualDev = "e1000"
ethernet2.wakeOnPcktRcv = "FALSE"
serial0.present = "TRUE"
serial0.fileType = "device"
serial0.fileName = "COM6"
isolation.tools.hgfs.disable = "TRUE"
ethernet0.addressType = "generated"
ethernet1.addressType = "generated"
ethernet2.addressType = "generated"
uuid.location = "56 4d a7 cc a9 32 83 5b-50 b4 99 4c c1 cb 36 f6"
uuid.bios = "56 4d a7 cc a9 32 83 5b-50 b4 99 4c c1 cb 36 f6"
ide0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
ethernet1.pciSlotNumber = "33"
ethernet2.pciSlotNumber = "34"
sound.pciSlotNumber = "35"
ehci.pciSlotNumber = "36"
ethernet0.generatedAddress = "00:0c:29:cb:36:f6"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddress = "00:0c:29:cb:36:00"
ethernet1.generatedAddressOffset = "10"
ethernet2.generatedAddress = "00:0c:29:cb:36:0a"
ethernet2.generatedAddressOffset = "20"
============END OF FILE=======================
Note: you can't use switch 0 or 1, if I remember right they are used by the system. You can only use switch 2 and above.
Suppose you want to connect Router1's ethernet interface to Router2's ethernet through switch 2 or 3, you would add these two lines to each router's .vmx config file.
ethernetX.connectionType = "custom"
ethernetX.vnet = "Vmnet2"
There might be an easier way but I haven't figured it out yet.
The down side with using switches is you really don't have physical Point-to-Point connection but you can pretty much do everything else.
You might run into minor problems, like multicast not working for rip. If you configure rip you have to use broadcasting. With other routing protocols like OSPF you can only configure point-to-point links...NBMA won't work because multicast isn't working also BGP won't work as far as I know...But there has been a fix on some website if u understand chinese http://www.netemu.cn/bbs/archiver/tid-7417.html. I couldn't figure it out so I gave up on the fix. But there is also a new online rack rental with reasonable pricing. Try routertricks.com its like $12.xx per 4hrs and u can practice everything on the JNCIA exam and more. Since I found this website about 2 weeks ago I haven't used Olive.
Good luck!INE v4 volume 1