Menu

Virtual interface for drbl se

2020-10-17
2020-11-04
  • thasmudyan thasmudyan

    Hello, i have created virtual interface on ubuntu 20.04 LTS
    but while installing drbl server it does not recognize my virtual interface.
    Is there a trick for that problem?
    I have removed network-manager and netplan/*.yaml files.
    The configs that i used are below.

    I will be very appreciated for any helps.
    ------------ping results--------------
    thas@ubuntu:~$ ping 192.168.99.200
    PING 192.168.99.200 (192.168.99.200) 56(84) bytes of data.
    64 bytes from 192.168.99.200: icmp_seq=1 ttl=64 time=0.045 ms
    64 bytes from 192.168.99.200: icmp_seq=2 ttl=64 time=0.063 ms
    64 bytes from 192.168.99.200: icmp_seq=3 ttl=64 time=0.063 ms
    64 bytes from 192.168.99.200: icmp_seq=4 ttl=64 time=0.066 ms
    64 bytes from 192.168.99.200: icmp_seq=5 ttl=64 time=0.062 ms
    64 bytes from 192.168.99.200: icmp_seq=6 ttl=64 time=0.063 ms
    ^C
    --- 192.168.99.200 ping statistics ---
    6 packets transmitted, 6 received, 0% packet loss, time 5126ms
    rtt min/avg/max/mdev = 0.045/0.060/0.066/0.007 ms
    -----------end of ping------------

    --------ifconfig results--------------

    thas@ubuntu:~$ ifconfig
    ens33: flags=4163<up,broadcast,running,multicast> mtu 1500
    inet 10.1.18.50 netmask 255.255.255.0 broadcast 10.1.18.255
    inet6 fe80::20c:29ff:fe4d:7b3 prefixlen 64 scopeid 0x20<link>
    ether 00:0c:29:4d:07:b3 txqueuelen 1000 (Ethernet)
    RX packets 35453 bytes 46235032 (46.2 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 7977 bytes 928666 (928.6 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</up,broadcast,running,multicast>

    ens33:0: flags=4163<up,broadcast,running,multicast> mtu 1500
    inet 192.168.99.200 netmask 255.255.255.0 broadcast 192.168.99.255
    ether 00:0c:29:4d:07:b3 txqueuelen 1000 (Ethernet)</up,broadcast,running,multicast>

    lo: flags=73<up,loopback,running> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 2857 bytes 226171 (226.1 KB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 2857 bytes 226171 (226.1 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    ----------------end of ifconfig---------------------------------------</host></up,loopback,running>

    ----------interfaces content------------------

    Loopback

    auto lo
    iface lo inet loopback

    Network Interface, this should match your network

    auto ens33
    iface ens33 inet static
    address 10.1.18.50
    netmask 255.255.255.0
    gateway 10.1.18.1

    Virtual Interface for Conezilla, make sure you use a "class C" IP (192.168.x.x)

    auto ens33:0
    iface ens33:0 inet static
    address 192.168.99.200
    netmask 255.255.255.0

    ---------------------------

     
  • Steven Shiau

    Steven Shiau - 2020-10-20

    Since it's virtual machine, it's easier you add a virtual network card, not an alias one. Say, you have ens33 and ens34. Then configure them. When running "drblpush -i", it should detect both of them.

    Steven

     
  • thasmudyan thasmudyan

    You are right,I can add an extra interface for virtual machine.Could you answer it for a pyhsical computer for educational purposes.

     
  • Steven Shiau

    Steven Shiau - 2020-10-24

    "Could you answer it for a pyhsical computer for educational purposes." -> What did you mean?

    Steven

     
  • thasmudyan thasmudyan

    Could you answerthe question for a pyhsical computer?I am asking this question just for learning.

     
  • Spinage

    Spinage - 2020-10-29

    Now you have a Physical computer? You problem you only have 1 network interface, the thing that looks like a really big phone cord. You need at least 2 of them, add a second network card and you will get further.

     
  • Spinage

    Spinage - 2020-10-29

    Looks like you had 2 nics in your VM, but you will need two in the physical computer as well.

     
  • thasmudyan thasmudyan

    as far as i know,It is possible to create virtual nics that is dependent to a physical nic.It is used especially on routers,otherwise a router must have nics as many as subnets.Lets focus drbl server,I have made configurations on ubuntu 16.04 but it is time to upgrade.Ubuntu has changed its network infrastructure with netplan.I have disbaled it and configured like on old days,but i can not succee.If the command outputs are inspected carefully it is very clear what i meant.ifconfig shows virtual interfaces but drbl recognizes only the pyhisical one.That's the problem.

     
  • Steven Shiau

    Steven Shiau - 2020-10-31

    Since you have ens33 and ens33:0, and both of them are configured. What was the issue when you run "drblpush -i"?

    Steven

     
  • thasmudyan thasmudyan

    As you see from the only1interface.png attachment. It says only one configured interface found. That is the problem.

     
  • Steven Shiau

    Steven Shiau - 2020-11-04

    Please run this command on the server then post its result:
    ip add show

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.