LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-28-2018, 08:33 PM   #1
KarolDworak
Member
 
Registered: Jun 2018
Posts: 32

Rep: Reputation: Disabled
network statement in kickstart file only works with 192.168.122.0/24 default KVM network?


Trying to do an automated install using Kickstart file. But I want to use a different virt bride/switch/network than the default one created at 192.168.122.0/24. I have not been able to get that to happen and I need some help. When I use a Kickstart file with network info of 192.168.122.0/24 network the auto install finishes fine. If I use a kickstart file with network statement of 192.168.100.0/24 it does not work. When I create two VMs using the 192.168.122.0/24 kickstart file I end up with two VMs on that network. Next I edit the ifcfg-eth0 file of one of the VMs and reboot. But I cant even ping my own gateway 192.168.100.1 Host unreachable.

I can successfully ping 192.168.100.1 from host and the VM on the default KVM network. the VM on the default KVM network can ping the internet as well.

So my question is, What do I have to do to get that Virbr1 or virbr6 to say UP instead of DOWN like virbr0 does in the ip addr command. Thats the only difference I see in the output info.

Also, what are those vnet interfaces that spawn off of virbr0?

below is the Host info

ip addr
Code:
2: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether f4:06:69:59:d2:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.11/24 brd 192.168.0.255 scope global noprefixroute dynamic wlp7s0
       valid_lft 74306sec preferred_lft 74306sec
    inet6 fe80::e98a:bdeb:2e38:e758/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:a3:b0:23 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:a3:b0:23 brd ff:ff:ff:ff:ff:ff
7: virbr6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:3f:2a:fe brd ff:ff:ff:ff:ff:ff
    inet 192.168.106.1/24 brd 192.168.106.255 scope global virbr6
       valid_lft forever preferred_lft forever
8: virbr6-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr6 state DOWN group default qlen 1000
    link/ether 52:54:00:3f:2a:fe brd ff:ff:ff:ff:ff:ff
9: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:e9:ee:13 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fee9:ee13/64 scope link 
       valid_lft forever preferred_lft forever
16: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:a3:b0:23 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1
       valid_lft forever preferred_lft forever
17: virbr1-nic: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master virbr1 state DOWN group default qlen 1000
    link/ether 52:54:00:a3:b0:23 brd ff:ff:ff:ff:ff:ff
24: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:6c:ea:87 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fe6c:ea87/64 scope link 
       valid_lft forever preferred_lft forever
ip route
Code:
default via 192.168.0.1 dev wlp7s0 proto dhcp metric 600 
192.168.0.0/24 dev wlp7s0 proto kernel scope link src 192.168.0.11 metric 600 
192.168.100.0/24 dev virbr1 proto kernel scope link src 192.168.100.1 
192.168.106.0/24 dev virbr6 proto kernel scope link src 192.168.106.1 
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
brctl show
Code:
bridge name	bridge id		STP enabled	interfaces
virbr0		8000.525400a3b023	yes		virbr0-nic
							vnet0
							vnet1
virbr1		8000.525400a3b023	yes		virbr1-nic
virbr6		8000.5254003f2afe	yes		virbr6-nic
virsh net-list -all
Code:
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
 outsider             active     yes           yes
 testernet            active     yes           yes
Thank you for your time.
 
Old 08-02-2018, 08:16 AM   #2
KarolDworak
Member
 
Registered: Jun 2018
Posts: 32

Original Poster
Rep: Reputation: Disabled
bump
 
Old 08-02-2018, 08:33 AM   #3
KarolDworak
Member
 
Registered: Jun 2018
Posts: 32

Original Poster
Rep: Reputation: Disabled
I tried doing a virt-install with a kickstart file set to 192.168.100.1/24 network directive and I used the 192.168.100.0/24 network in my virt-install command for my http path... I noticed a new tap interface showed up but its master is virbr0 ... I would need that to be virbr1 and Id be good to go?

Code:
9: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:e9:ee:13 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fee9:ee13/64 scope link 
       valid_lft forever preferred_lft forever
11: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:47:be:45 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fe47:be45/64 scope link 
       valid_lft forever preferred_lft forever
Anyone know how to plug into the right virbr?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kickstart network install only works over default KVM network? KarolDworak Linux - Newbie 6 08-02-2018 08:32 AM
[SOLVED] network statement in kickstart file only works with 192.168.122.0/24 default KVM network? KarolDworak Linux - Networking 1 07-29-2018 04:01 AM
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
smtp internal network 192.168.x.x sendmail sloboda Linux - Networking 0 10-03-2001 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration