ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't apt-get when running Bridged NIC on Oracle Virtualbox Ubuntu Server 14.04

    IT Discussion
    linux web server lamp
    4
    21
    6.0k
    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.
    • S
      scottalanmiller
      last edited by

      Can't be related to FiOS as that is external to the computer completely and would affect all options equally.

      1 Reply Last reply Reply Quote 0
      • S
        scottalanmiller
        last edited by

        Why do you have two NICs on a VM like this?

        1 Reply Last reply Reply Quote 0
        • S
          scottalanmiller
          last edited by

          My guess is that you are having gateway issues caused by having two NICs in different configurations.

          1 Reply Last reply Reply Quote 1
          • T
            thanksajdotcom
            last edited by

            Having two NICs FIXED the issue. It was having one or the other that was the issue.

            S 1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller @thanksajdotcom
              last edited by

              @ajstringham said:

              Having two NICs FIXED the issue. It was having one or the other that was the issue.

              So having only one bridge NIC did not work?

              T 1 Reply Last reply Reply Quote 0
              • T
                thanksajdotcom @scottalanmiller
                last edited by

                @scottalanmiller said:

                @ajstringham said:

                Having two NICs FIXED the issue. It was having one or the other that was the issue.

                So having only one bridge NIC did not work?

                One bridge NIC works for everything but apt-get. One NAT NIC works for everything except accessing it like a web server. Using two balances it out and it works but I can't understand why a bridge connection would not work with apt-get while a NAT would...

                S 1 Reply Last reply Reply Quote 0
                • S
                  scottalanmiller @thanksajdotcom
                  last edited by scottalanmiller

                  @ajstringham said:

                  @scottalanmiller said:

                  @ajstringham said:

                  Having two NICs FIXED the issue. It was having one or the other that was the issue.

                  So having only one bridge NIC did not work?

                  One bridge NIC works for everything but apt-get. One NAT NIC works for everything except accessing it like a web server. Using two balances it out and it works but I can't understand why a bridge connection would not work with apt-get while a NAT would...

                  Maybe apt is misconfigured. Might be a good chance to work with CentOS 7.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MattKing
                    last edited by

                    @ajstringham This might be a long-shot but have you compared your ifconfig- a output to your /etc/network/interfaces output on your Ubuntu VM? What about using just NAT? Maybe the actual NIC/hardware doesn't "like" (very technical) IP aliasing since apt traffic on a NAT config is working.
                    (Just my train of thought, might be completely irrelevant.)

                    T 1 Reply Last reply Reply Quote 1
                    • T
                      thanksajdotcom @MattKing
                      last edited by

                      @MattKing said:

                      @ajstringham This might be a long-shot but have you compared your ifconfig- a output to your /etc/network/interfaces output on your Ubuntu VM? What about using just NAT? Maybe the actual NIC/hardware doesn't "like" (very technical) IP aliasing since apt traffic on a NAT config is working.
                      (Just my train of thought, might be completely irrelevant.)

                      It's possible. I'm honestly not going to worry about it. If having two NICs fixes it, great. Was more curious if anyone might know why off-hand. Thanks though!

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MattKing @thanksajdotcom
                        last edited by

                        @ajstringham Fair enough; "If it fits, I sits" just offering a look!

                        1 Reply Last reply Reply Quote 1
                        • S
                          scottalanmiller
                          last edited by

                          This is a really weird issue that I'd really like to figure out.

                          T 1 Reply Last reply Reply Quote 1
                          • T
                            thanksajdotcom @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            This is a really weird issue that I'd really like to figure out.

                            I would like to know why as well but it's not worth my time. If having one of each virtual NIC fixes it on Virtualbox, so be it. I have other things to worry about...lol

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              JaredBusch @thanksajdotcom
                              last edited by

                              @ajstringham said:.

                              I would like to know why as well but it's not worth my time. If having one of each virtual NIC fixes it on Virtualbox, so be it. I have other things to worry about...lol

                              Actually, you talked about moving it. So this kind of hack is a really bad idea. If you are just moving the web directory, then that is different. Either way, this means something is seriously wrong. That is not a good sign for the health of the VirtualBox install itself.

                              S T 2 Replies Last reply Reply Quote 0
                              • S
                                scottalanmiller @JaredBusch
                                last edited by

                                @JaredBusch said:

                                @ajstringham said:.

                                I would like to know why as well but it's not worth my time. If having one of each virtual NIC fixes it on Virtualbox, so be it. I have other things to worry about...lol

                                Actually, you talked about moving it. So this kind of hack is a really bad idea. If you are just moving the web directory, then that is different. Either way, this means something is seriously wrong. That is not a good sign for the health of the VirtualBox install itself.

                                I doubt it is VBox related. Probably just an odd network config.

                                1 Reply Last reply Reply Quote 1
                                • T
                                  thanksajdotcom @JaredBusch
                                  last edited by

                                  @JaredBusch said:

                                  @ajstringham said:.

                                  I would like to know why as well but it's not worth my time. If having one of each virtual NIC fixes it on Virtualbox, so be it. I have other things to worry about...lol

                                  Actually, you talked about moving it. So this kind of hack is a really bad idea. If you are just moving the web directory, then that is different. Either way, this means something is seriously wrong. That is not a good sign for the health of the VirtualBox install itself.

                                  I actually updated to the absolute latest version of Virtualbox right before I started the whole process, so I honestly don't know why it'd be a Virtualbox issue...I might try rebuilding the entire VM, from the VMDK up.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    scottalanmiller @thanksajdotcom
                                    last edited by

                                    @ajstringham Got for the RC of CentOS 7. Get the maximum value from the effort.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      thanksajdotcom
                                      last edited by

                                      I'll do that now.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        scottalanmiller @thanksajdotcom
                                        last edited by

                                        @ajstringham said:

                                        I'll do that now.

                                        Awesome. CentOS 7 is looking pretty good. I've got one instance running. New thing.... default filesystem is XFS!

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          thanksajdotcom @scottalanmiller
                                          last edited by

                                          @scottalanmiller said:

                                          @ajstringham said:

                                          I'll do that now.

                                          Awesome. CentOS 7 is looking pretty good. I've got one instance running. New thing.... default filesystem is XFS!

                                          I'm creating the VMDK now. My only concern is that, all my research suggests Ubuntu is the best distro to run a LAMP server on. I'm also much more familiar with Debian systems over RPM...

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            scottalanmiller @thanksajdotcom
                                            last edited by

                                            @ajstringham said:

                                            I'm creating the VMDK now. My only concern is that, all my research suggests Ubuntu is the best distro to run a LAMP server on. I'm also much more familiar with Debian systems over RPM...

                                            RHEL has always been the LAMP leader. No upside to Ubuntu for LAMP. That's not where Ubuntu is strong. Ubuntu is better for alternative, non-LAMP, application stacks like RoR and Node.js where RHEL's conservative approach is a major problem.

                                            Other than needing the EPEL enabled, RHEL is as straightforward as you really get for LAMP. Ubuntu has only squeaked by as being even a reasonable choice until the latest few releases.

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