Results 1 to 8 of 8

Thread: networkconfiguration pointopoint

  1. #1

    Question networkconfiguration pointopoint

    I want to use openSUSE 13.1 as guest ontop of Debiand in a KVM virtual machine. I want to assign an external IP tothe VM to make it directly reachable from the internet via this IP.
    This configuration (guest) works really good under Debian, but i'd really much prefer using openSUSE.

    How can I configure openSUSE in the same way as Debain in that tutorial? I can't really change the host configuration as I'm not the only user on that system.
    Is there anybody familiar with Debian and openSUSE who can help me?
    Thanks in advance

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: networkconfiguration pointopoint

    There should be nothing special about this setup.

    Configure the networking connection on your Debian Host by whatever way you're managing KVM.
    You only describe external access to the Guest so I guess it's not multi-homed?
    If that is the case, then when you create your new VM (or configure an existing VM) your install should find the only available working networking connection automatically and create/configure an appropriate network device.

    HTH,
    TSU

  3. #3

    Default Re: networkconfiguration pointopoint

    Quote Originally Posted by tsu2 View Post
    There should be nothing special about this setup.

    Configure the networking connection on your Debian Host by whatever way you're managing KVM.
    You only describe external access to the Guest so I guess it's not multi-homed?
    If that is the case, then when you create your new VM (or configure an existing VM) your install should find the only available working networking connection automatically and create/configure an appropriate network device.

    HTH,
    TSU
    Sadly I didn't make it work. I think the important thing which does the magic is the line with "pointopoint $GATEWAYADRESS" on the guest side. Maybe this line can be replaced with some routing magic?

  4. #4
    Join Date
    Jul 2008
    Location
    Toronto, Canada
    Posts
    1,255

    Default Re: networkconfiguration pointopoint

    The physical network interface no longer uses eth0. Check the new name in Yast.
    Could this be the problem?
    My Linux Box
    OS:
    openSUSE 52.2 - Plasma 5.18.9
    OS:
    Tumbleweed Plasma 5.22
    ASUS P5Q | Intel Quad 6600 @3.02 GHz | 8GB G.SKILL RAM | Nvidia GeForce 750 Ti

  5. #5

    Default Re: networkconfiguration pointopoint

    Quote Originally Posted by Romanator View Post
    The physical network interface no longer uses eth0
    In my case the network interface of the VM still was eth0. But in this case this is not relevant.
    I configured the interface using Yast: I did set a static IP, the netmask and the gateway (in the routing tab), but nevertheless the network configuration isn't working. So the only thing from the example Debian config I didn't do is the line with "pointopoint". That's why I guess this is the important thing in this case. But how to do it in openSUSE?

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: networkconfiguration pointopoint

    First,
    IMO this is a configuration on your Debian Host, it likely doesn't involve anything in your openSUSE guest. So, if there is some kind of special configuration involved specific to Debian's implementation this would be the wrong place to ask your Q (Debian Q's belong in a Debian forum).

    That said, you never mentioned how you're managing your KVM.
    If you're using a cross-platform technology like libvirt to manage your virtualization (vm manager, vm install, virt install), then it <might> be possible to answer even Q's about running on another distro llike Debian.

    If you're managing your KVM entirely by command line, <maybe> you could find answers here but since it's a Debian Host you'll still do better in the Debian community. But regardless rest assured that as far as the openSUSE guest goes, as long as you've modified your firewall (using YAST) to accept incoming traffic, nothing else is likely necessary.

    HTH,
    TSU

  7. #7

    Default Re: networkconfiguration pointopoint

    [QUOTE=tsu2;2621017]First, IMO this is a configuration on your Debian Host, it likely doesn't involve anything in your openSUSE guest. So, if there is some kind of special configuration involved specific to Debian's implementation this would be the wrong place to ask your Q (Debian Q's belong in a Debian forum). /QUOTE] Thanks for replying, but I'm quite sure the openSUSE forum is the place to ask help for this problem: You're right, I'm using a Debian host with libvirt. The tutorial I linked to consists of two parts: the host-specific settings and those for the guest. I can't and won't change the host network setup of the system, but the problem is this guest-specific part:
    Code:
    auto eth0 iface eth0 inet static       address DD.EE.FF.163       netmask 255.255.255.255       gateway AA.BB.CC.DD       pointopoint AA.BB.CC.DD       # dns-* options are implemented by the resolvconf package, if installed       dns-nameservers 213.133.98.98 213.133.99.99 #        dns-search example.com
    I already have a Debian guest running which works fine with that guest configuration. The configuration is not really complex. In openSUSE I managed to set the ip adress, the netmask and the gateway according to the same values which work fine in a debian guest. Nevertheless my openSUSE guest cannot get a network connection. The only thing I don't know how to set up in openSUSE is the
    Code:
    pointopoint AA.BB.CC.DD
    line. And I guess this is the part which makes a difference. The question now is: How do I achieve a similar configuration on openSUSE? I'm sorry that I apparently didn't describe my problem understandable enough.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: networkconfiguration pointopoint

    I took a spin through your reference.

    I think the important thing to note is the reference in your reference to the original source document
    http://wiki.hetzner.de/index.php/KVM...aus_Subnetz/en

    And in it, it describes the setup which for whatever reason implements libvirt to manage guests but not to setup virtual networks
    he use of libvirt for network configuration is waived
    • in these instructions, libvirt only manages the Guests, no nets
    While I was studying libvirt, I was impressed how it's built almost entirely on a foundation of commonly available Linux components.

    Doing a general search on "pointtopoint iface" I came up completely empty. I'm not even sure what functionality it's supposed to provide, it simply points to the DG.

    Since there is no documentation I can find on this "Hetzner" I suggest you ask them your question. If they can't provide a complete answer but can at least provide some foundation information, you can ask here again and might get help.

    IMO,
    TSU

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •