• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Debian netowrk manager

Scheduled Pinned Locked Moved
Linux Problems
4
6
2.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    irishfoguser
    last edited by Oct 15, 2014, 9:57 AM

    Hi I am having a issue with network manager.

    i am setting fog up on a server with 2 network cards i want the following configuration on the cards
    eth0 to be DHCP and eth1 to be 192.168.2.1

    but when i try to configure this with network manager it seems to be setting both with same configuration of the static IP.

    I tried editing etc/network/interfaces bit with my limited knowledge it didnt go well.

    i had the following lines in interfaces file

    [CODE]auto eth0
    iface eth0 inet dhcp

    auto eth1
    iface eth0 inet static
    address 192.168.2.1
    subnet 255.255.255.0
    gateway 0.0.0.0

    [/CODE]
    eth0

    any ideas where i went wrong or how can i use network manager to confiure a static ip and a auto ip.

    1 Reply Last reply Reply Quote 0
    • I
      irishfoguser
      last edited by Oct 15, 2014, 10:05 AM

      never mind i figured it out.

      1 Reply Last reply Reply Quote 0
      • J
        Jaymes Driver Developer
        last edited by Oct 15, 2014, 11:19 AM

        its not subnet, its netmask

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • T
          Thiago
          last edited by Jan 20, 2015, 12:47 PM

          I dont know if i see is a typo or something else, but after “auto eth1” you need to set iface eth1… and not eth0 again.

          1 Reply Last reply Reply Quote 0
          • C
            ch3i Moderator
            last edited by Jan 20, 2015, 4:14 PM

            Hi,

            If you have only a network card (in the example eth0), it’s :

            [CODE]auto eth0
            iface eth0 inet static
            address 192.168.2.1
            netmask 255.255.255.0
            gateway 0.0.0.0 << No gateway ???[/CODE]

            Regards,
            Ch3i.

            1 Reply Last reply Reply Quote 0
            • J
              Jaymes Driver Developer
              last edited by Jan 20, 2015, 5:13 PM

              Guys, he solved his issue, this is an old topic. We are just playing Necromancy.

              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              157

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project