2. - Oracle SBC - Virtual Machines for testing
We need to deploy 2 virtual machines in order to test communication between phones via Oracle SBC
we will not go over the deployment, feel free to choose any distribution, for this lab we are using Lubuntu. (feel free to use windows if needed) visit https://www.linphone.org/ to download.
first we need to update our distro and install necessary tools
sudo apt-get update
sudo apt-get install wireshark (make sure you allow non-superusers to capture packets)
next we will add linphone repository and install linphone
sudo add-apt-repository ppa:linphone/release
sudo apt-get update
sudo apt-get install linphone -y
Last step is to manually assign IP address to our interfaces, example below is for VLAN 1 we are using
enp1s0 - 192.168.10.21
enp3s0 - 192.168.11.101
csr@vm1:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:1b:aa:1f brd ff:ff:ff:ff:ff:ff
inet 192.168.10.21/24 brd 192.168.10.255 scope global noprefixroute enp1s0
valid_lft forever preferred_lft forever
inet6 fe80::9fdc:3b2e:a4a9:29af/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:c7:c9:c5 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.30/24 brd 192.168.10.255 scope global dynamic noprefixroute enp2s0
valid_lft 6425sec preferred_lft 6425sec
inet6 fe80::a096:1c9d:9db0:f414/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:0e:0c:17 brd ff:ff:ff:ff:ff:ff
inet 192.168.11.101/24 brd 192.168.11.255 scope global noprefixroute enp3s0
valid_lft forever preferred_lft forever
inet6 fe80::d0ef:196b:c26b:f50d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
ping all gateways to validate connectivity.
csr@vm1:~$ ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=0.249 ms
64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.203 ms
^C
--- 192.168.10.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 0.203/0.226/0.249/0.023 ms
csr@vm1:~$ ping 192.168.11.1
PING 192.168.11.1 (192.168.11.1) 56(84) bytes of data.
64 bytes from 192.168.11.1: icmp_seq=1 ttl=64 time=0.436 ms
64 bytes from 192.168.11.1: icmp_seq=2 ttl=64 time=0.244 ms
^C
--- 192.168.11.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1021ms
rtt min/avg/max/mdev = 0.244/0.340/0.436/0.096 ms
csr@vm1:~$ ping 192.168.12.1
PING 192.168.12.1 (192.168.12.1) 56(84) bytes of data.
64 bytes from 192.168.12.1: icmp_seq=1 ttl=64 time=0.271 ms
64 bytes from 192.168.12.1: icmp_seq=2 ttl=64 time=0.268 ms
^C
--- 192.168.12.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1023ms
rtt min/avg/max/mdev = 0.268/0.269/0.271/0.001 ms

No Comments