Thanks! This is exactly what I was thinking. I am glad that I was not totally off in my thought process.
On Wed, Mar 17, 2021 at 5:56 AM Nathan A Besaw <bes...@us.ibm.com> wrote: > xCAT is designed to support multiple networks, your plan below should work > fine. > > The basic process for your situation is: > 1.) Configure your new VLANs on the switch. > 2.) Add the new virtual interface on the management node. > 3.) Add the new network definition for the new virtual interface to the > xCAT networks table. makenetworks -d will give you a stanza you can start > with, then modify to match your desired configuration and add to the table. > 4.) Add the new virtual interface name to dhcpinterfaces in the site table. > 5.) Run "makedhcp -n" to generate a new dhcpd configuration that includes > the new network. > 6.) Add your new node object definitions with mac addresses to xCAT using > your preferred method. > 7.) "makedhcp -a" or "makedhcp <NODE_RANGE_OF_NEW_NODES>" will add the > entries for the new nodes to the dhcpd configuration. > > > Will the mgmt. node support it with 2 DHCP servers? > The management node only runs one DHCP server, but it will be configured > to operate on all interfaces defined in dhcpinterfaces, using information > from the networks table. > > [image: Inactive hide details for Imam Toufique ---03/16/2021 10:58:01 > PM---Hi, Currently we have one network defined in my mgmt. node,]Imam > Toufique ---03/16/2021 10:58:01 PM---Hi, Currently we have one network > defined in my mgmt. node, and we are > > From: Imam Toufique <techie...@gmail.com> > To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> > Date: 03/16/2021 10:58 PM > Subject: [EXTERNAL] [xcat-user] can xcat serve 2 networks from a single > mgmt. node? > ------------------------------ > > > > Hi, > Currently we have one network defined in my mgmt. node, and we are > almost running out of IP addresses. I would like to add another network, > so we can build more nodes. My goal here is to use the same mgmt. node - > and its internal DNS server , etc. . > > A quick dump of networks table ( tabdump networks), looks like this: > > > #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,mtu,comments,disable > > "compute_net_1","10.240.58.0","255.255.254.0","eno1","10.240.58.1",,"<xcatmaster>","10.240.58.4,8.8.8.8,128.200.192.202",,,"10.240.58.221-10.240.58.240","10.240.58.4-10.240.58.220",,,,,"local","1500",, > .... > .... > .... > > I would like to add another network there , for example, 10.240.68.x/23 . > > current mgmt. node physical NIC config, looks like this: > > 4: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP > group default qlen 1000 > link/ether e4:43:4b:53:0b:f0 brd ff:ff:ff:ff:ff:ff > inet *10.240.58.4/23* > <https://urldefense.proofpoint.com/v2/url?u=http-3A__10.240.58.4_23&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=95pZYYPXXV-5mn9YO7FX6q2JdbPYeCR6fMnFTgqZ_M8&m=PZQRfSxx5Mmhf_nf0cU-Qmqc2cQbbd556V9GilRPksw&s=b4m5H10_oPU2s9N9NrOOhygUG9UqEHpHIMcmjhnvZSc&e=> > brd 10.240.59.255 scope global eno1 > valid_lft forever preferred_lft forever > inet6 fe80::e643:4bff:fe53:bf0/64 scope link > valid_lft forever preferred_lft forever > > If I tagged a vlan on switchport, and created a virtual interface in the > mgmt. node, can I add another network in the network table? Will the mgmt. > node support it with 2 DHCP servers? I am not sure how this process might > work. I am rather thinking that xcat DHCP server could offer a DHCP address > from the new network. > > I might be completely off in my thought process. My only goal is to > create a new network so I can build more nodes. > > Appreciate any feedback. > > thanks._______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=95pZYYPXXV-5mn9YO7FX6q2JdbPYeCR6fMnFTgqZ_M8&m=PZQRfSxx5Mmhf_nf0cU-Qmqc2cQbbd556V9GilRPksw&s=1KWB7DH0HemY5rckcrL2z6MTeZKRKjiI8NU2eWkzvGo&e= > > > > > -- Regards, *Imam Toufique* *213-700-5485*
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user