Ok, the issue is that since you are using a wireless interface, you are not able to put your NIC in promiscuous mode (see my earlier post). Here is a thread that should put you back on the Oz...
http://superuser.com/questions/734160/bridged-network-no-ip-address-on-guest-os
Good Luck
Kevin
yesOn Wed, Feb 4, 2015 at 12:47 AM, Kevin Fries <kevin@fries-biro.com> wrote:I think I found your issue, but to confirm... you are bridging on a wireless interface... correct?
Kevin
On Feb 4, 2015 12:43 AM, "Michael Torres" <matorres124@gmail.com> wrote:correct, I agree, but it was still failing....I changed the BROADCAST IP as it directed and it no longer fails......BUT also no IP address for enp0s3 either.....that fails too, but no error message....On Wed, Feb 4, 2015 at 12:41 AM, Kevin Fries <kevin@fries-biro.com> wrote:This is your localhost or internal to the machine nic. It has no effect here.
On Feb 4, 2015 12:28 AM, "Michael Torres" <matorres124@gmail.com> wrote:Ill try BROADCAST first....I dont know what "this" is referring to "NETWORK" or "BROADCAST"NAME=loopbackONBOOT=yesBROADCAST=127.255.255.255# you can change this to something else (255.255.255.255, for example)#If you are having problems with gated making 127.0.0.0/8 a martian,NETWORK=127.0.0.0NETMASK=255.0.0.0IPADDR=127.0.0.1here is my lo fileDEVICE=loOn Wed, Feb 4, 2015 at 12:22 AM, Kevin Fries <kevin@fries-biro.com> wrote:Ok, here is what I see.
Your interface appears to be trying to do a DHCP configure. But, here is your problem... the adapter already had one... and Windows got it. You are in Bridge, not NAT mode, so Linux can not have its own IP, it will get rejected by the host server.
Let me think a sec on this.
Kevin
On Feb 4, 2015 12:16 AM, "Michael Torres" <matorres124@gmail.com> wrote:So, if this erorrs tells you something that I cannot readily see, I am all ears (or eyes, as this is email...)...devserver NetworkManager[561]: <warn> (enp0s3): DHCPv4 request timed out.This may show the problem, but it shows what I already know. I went to that site "freedesktop" and search for key words that were in this error......, nothing.
...devserver NetworkManager[561]: <info> (enp0s3): canceled DHCP transaction, DHCP client pid 2138
...devserver NetworkManager[561]: <info> Activation (enp0s3) Stage 4 0f 5 (IPv4 Configure Timeout) scheduled...
...devserver NetworkManager[561]: <info> Activation (enp0s3) Stage 4 0f 5 (IPv4 Configure Timeout) started...
...devserver NetworkManager[561]: <info> Activation (enp0s3) Stage 4 0f 5 (IPv4 Configure Timeout) complete...
...devserver network[1987]: Bringing up interface enp0s3: Error: Timeout 90 sec expired.
...devserver network[1987]: [FAILED]
...devserver systemd[1]: network.service: control process exoited, code=exited satus=1
...devserver systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit network.service has failedOn Wed, Feb 4, 2015 at 12:00 AM, Kevin Fries <kevin@fries-biro.com> wrote:Bingo, Huston we found the problem.
The old scripts are using systemctl so for backwards compatability. Look in the journal and it should tell you what is wrong.
I think the command off the top of my head is something like
#journalctl --unit=network
Kevin
On Feb 3, 2015 11:53 PM, "Michael Torres" <matorres124@gmail.com> wrote:Stopping network (via systemctrl)OK, when I start/stop the network service, I use the following command....[root@devserver]# /etc/init.d/network stop
[root@devserver]# /etc/init.d/network start
Starting network (via systemctrl)Then I run the commands that you gave earlier after starting fails...This is the result..network.service loaded failed failed LSB: Bring up/down networkingOn Tue, Feb 3, 2015 at 11:47 PM, Kevin Fries <kevin@fries-biro.com> wrote:If your interface has no IP, you can't communicate out to anywhere, and we are back to the conversation about starting and enabling your network service.
On Feb 3, 2015 11:45 PM, "Michael Torres" <matorres124@gmail.com> wrote:thats the point.... I dont have an IP address...there is nothing that I put to scan it. My NIC was allowing it when I was at Starbucks.. That is why I think its my router, as such isnt the router that assigns IP address to the network when using DHCP?On Tue, Feb 3, 2015 at 11:39 PM, Kevin Fries <kevin@fries-biro.com> wrote:Ok, down to two possibilities.
Nmap is a scanner. It is trying to identify your VM and probe for open ports.
When you scanned by name... it did not understand that name. Your router is external to all of this, and should not be involved at all.
Try nmap by IP address.
If that still results in nothing, add a virtual network via VMware or VBox. Next add a new virtual network adapter to your VM, and connect it to the new network. This should be a private network between host and client. Config your interface in the VM. This will resolve your problem. In this case, your NIC is not allowing traffic to go out, then back in to itself. The traffic is almost certainly not going to your router then back.
HTH
KevinOn Feb 3, 2015 10:41 PM, "Michael Torres" <matorres124@gmail.com> wrote:I would ahave asusmed the the above results as the dhcp server is not generating a IPv4 addressResult from the nmap(windows version)netstat -plantliastening on ports 25 and 22 both for IPv4 nad IPv6
Starting Nmap 6.47 ( http://nmap.org ) at 2015-02-03 22:36 US Mountain Standard Time
NSE: Loaded 118 scripts for scanning.
NSE: Script Pre-scanning.
NSE: Script Post-scanning.
Read data files from: C:\Program Files (x86)\Nmap
Nmap done: 0 IP addresses (0 hosts up) scanned in 4.20 seconds
Raw packets sent: 0 (0B) | Rcvd: 0 (0B)
Failed to resolve "devserver".
WARNING: No targets were specified, so 0 hosts scanned.so...1) The netstat does not show the binding to port 21... this means SSHD did not start.
I am guessing port 22 is OK
2) netstat shows SSHD, but the firewall is not allowing it. Open the firewall
Firewall is already disabled
3) netstat shows SSHD, the firewall is open, but you still don't see the port open via nmap.
3a) if you see other ports open, I would look at the Windows firewall
Windows firewall allowed it on a Public network (startbuck), so why not allow it at my home
3b) If you don't see any ports open, you have two options here.
3b1) Make sure your NIC (from the Windows side) is in promiscuous mode.
dont know how to do that.
3b2) If it is already in promiscuous mode, then this may not work in this configuration. In this case, try adding a private network on a second NIC, and communicate with the VM over that.
Ill try to connect to my ethernet adpater and see if that is it, maybe its my wireless adapter....MikeOn Tue, Feb 3, 2015 at 10:22 PM, Kevin Fries <kevin@fries-biro.com> wrote:Ok, sorry, I misunderstood.
Nmap could be your friend here. Install it on your Windows machine. It will install the graphical tool automatically in Windows. Point this at your VM, and do a "intense scan"
Next, on the Linux VM, do a
# netstat -plantZenmap/Nmap will tell you what ports it can see open from its side of the link. The netstat command will tell you which ports are opened by running software.
Lastly, on the Linux VM, do a
# ip tables -LThis will tell you which ports the firewall will allow.
Now, you have a few possibilities:
1) The netstat does not show the binding to port 21... this means SSHD did not start.
2) netstat shows SSHD, but the firewall is not allowing it. Open the firewall
3) netstat shows SSHD, the firewall is open, but you still don't see the port open via nmap.
3a) if you see other ports open, I would look at the Windows firewall
3b) If you don't see any ports open, you have two options here.
3b1) Make sure your NIC (from the Windows side) is in promiscuous mode.
3b2) If it is already in promiscuous mode, then this may not work in this configuration. In this case, try adding a private network on a second NIC, and communicate with the VM over that.
Let me how it goes.
Kevin
On Feb 3, 2015 9:58 PM, "Michael Torres" <matorres124@gmail.com> wrote:Well, no, I didnt issue any commands other than /path/to/network/script/network start /path/to/network/script/network stopI know I didnt use any systemctrl commands., but I tried to run the commands that you just provided and nothing happened. I should probably say that I know that IPv6 is enalbed and have network connection to the net work and I can ping yahoo.com etc..... I just cant SSH(putty) to the server.
and the commands to disable firewall/SELINUXThis all leads me to beleive that there is a configuration in my router that is not allowing me to get a IPv4 address. Does the default gateway have to be a certain number? I have manually configured that IP on my router a long time ago, but even then I had Bridged networking working correctly.MikeOn Tue, Feb 3, 2015 at 9:48 PM, Kevin Fries <kevin@fries-biro.com> wrote:Your network is probably not getting started. The enp0p3 is the name of an interface started almost definantly by systemd, not the old RHEL way. This is likely why the networking-scripts didn't work.
When you were at Starbucks, you likely did a systemctl start on the interface. Look in your history for it. If you find it, issue the same command again. If your interface comes up correctly, reissue the command once again, substituting enable for start. This second command is similar to a chkconfig command.
Let me know how that works.
Kevin
On Feb 3, 2015 9:13 PM, "Michael Torres" <matorres124@gmail.com> wrote:So I ran a what it suggested: systemctl list-unit-filesThe result of that command is:0 loaded units listedmajority of everything says "static" but some are "enabled" or "disabled"again, because I cannot copy or capture a screen shot, is there a specific list item that you need to see?"On Tue, Feb 3, 2015 at 8:44 PM, Kevin Fries <kevin@fries-biro.com> wrote:Do a
# systemctl --failed
And post the results
Kevin
On Feb 3, 2015 8:37 PM, "Michael Torres" <matorres124@gmail.com> wrote:MikeArrghh....yes its configured. But I am having an issue getting the cat /etc/sysconfig/network-script/ifcfg-enp0s3..........because I cant connect, I cant ssh in to use outty so I can copy using my mouse. I tried taking a screen shot, but VBox for some reason wont display on on the "print screen"command.is there a particular setting you are looking for? again, the file is configured and it is reading it.On Tue, Feb 3, 2015 at 8:15 PM, Stephen M <smelheim85@gmail.com> wrote:I don't remember if this is a problem in centos 7 as it was in 6. But check to make sure the eth0 is configured. But yes a print out of ifconfig inside vox would be great.
On Feb 3, 2015 8:07 PM, "Michael Torres" <matorres124@gmail.com> wrote:If you need error messages or other output, let me know (and possibly the command as I don't know networking that well other than "ifconfig")I am not very good at networking, so any help would be appreciated.Again, at Starbucks it assigned a IP address, so this leads me to believe that the issue is with a configuration on my router.-restart the server-set it to "Promiscuous Mode"-used adapter type of "Intel Pro 1000 MT Desktop (82540EM)"-Shut down server to reconfigure the adapter to "Bridged"-Disabled the Firewall-Disabled SELinux-While on NAT, I performed "yum update" so my server was fresh with the latest-Installed a fresh CentOS 7 on VBoxHere is the process I used...Here is the weird part... I was at startbucks and actually got it to work! (Please, hold the "Just use it at starbucks then" comments..I know....)The issue.... DHCP will not assign a IPv4 address to the server.I have used Bridged networking in the past and never had any issues but that was with older versions of CentOSI am trying to use "Bridged" networking in Virtual Box to a CentOS 7 minimum install distro that I want to use for my development server.Hello all,I have an problem that I cannot seem to figure out.....
Mike
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss