Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Fedora-server21, and its been 3 days that I am not able to start working on it. I have installed fedora21 in Oracle virtualBox, and my host machine is Win 7. The installation went smoothly with no hiccups, but I am not able to see IPv4 on my fedora at all, I have followed many online post to disable, but I couldn't. I did try some suggestion from
and some other menu items similar, but single "ipv6". The link do suggest to blacklist the IPv6 in some file under /etc/modprobe.d
In my machine I could see two files lying under the location
a) lockd.conf b) openfwwf.conf
there is no mention of any specific file name to be edited in the link.
Can somebody help me out to disable Ipv6, and enable IPv4, I need to communicate with my host machine (win 7) to share files to and fro, which I do not think is possible without IPv4 under my situation.
I am more used to redhat 5x, and redhat6x, where I do not see such issues of IPv6 at all. Also a very interesting observation in my /etc/sysconfig/network-scripts path. It has ifcfg-enp0s3, and ifcfg-lo, there is no eth(n) . Is this is something new in fedora21, or its something having to do just with my machine? the content of ifcfg-enp0s3 is very new to me, which I haven't experienced while working with redhat.
following are the details of VM settings for network. May be it will help more to understand the issue.
1) Enable Network Adapter --- checked
2) Adapter type : Intel PRO/1000 MT Desktop(82540EM){ however, there are other options as well, I took the default).
3) Promiscuous Mode ----Allow All.
4) Attached to ---- Bridged Adapter
5) cable connected --- checked
++++++++++++++++++++++++++++++++++++++
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_Ift forever preferred_Ift forever
inet6 ::1/128 scope host
valid_Ift forever preferred_Ift forever
2: enp0s3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 08:27:9e:52:62 brd ff:ff:ff:ff:ff:ff
++++++++++++++++++++++++++++++++++++++
I compared the ip addr show output with yours, and I could see that for some reason,its taking loopback ip for ipv4.
Since my ISP is DHCP, so as soon I login to my ISP portal on my win 7(host), the fedora should take Ipv4 as well from the pool as soon as its up. Just a thought, could be wrong though.
Somebody did suggest me to create two file under /etc/modprob.d as blacklist.conf, and ipv6.conf, and enter following respectively
blacklist net-pf-10
blacklist ipv6
and
alias net-pf-10 off
alias ipv6 off
after doing this , I could see one change in the ifconfig output
+++++++++++++++++++++++++
enp0s3: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 08:00:27:93:52:62
The change is in the "ether", earlier it used to be "inet6" in place of "ether". I really don't know if that makes any sense, or makes any difference.
++++++++++++++++++++++++
just wanted you to know.
Regards,
Amitesh
Last edited by amitesh_sahay; 05-16-2015 at 11:23 PM.
Reason: adding value
Since my ISP is DHCP, so as soon I login to my ISP portal on my win 7(host), the fedora should take Ipv4 as well from the pool as soon as its up. Just a thought, could be wrong though.
You have some sort of web portal to authenticate your connection?
Your not using a basic home router that handles it all for you?
You should switch to the NAT setting as it sounds like your net connection is not standard in any way shape or form.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.