[Spacewalk-list] Client machine update issue without internet

Dhaval Oza dhaval.oza at i-link.co.in
Tue Mar 18 12:18:24 UTC 2014


Robert,

We are not use /etc/hosts file on client side for resolving name (my spacewalk server ip is 192.168.12.52), as per your instruction we are remove gateway IP,  when I trigger "route -n" and "yum repolist --verbose" it display below.

root at testspacewalk ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.12.0    0.0.0.0         255.255.255.0   U     1      0        0 eth0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
[root at testspacewalk ~]#
[root at testspacewalk ~]#
[root at testspacewalk ~]#
[root at testspacewalk ~]# yum repolist --verbose
Loading "rhnplugin" plugin
Loading "fastestmirror" plugin
Loading "refresh-packagekit" plugin
Loading "security" plugin
Config time: 0.075
This system is receiving updates from RHN Classic or Red Hat Satellite.
Looking for repo options for [main]
Looking for repo options for [centos-6.4-x86_64-base]
Repo 'centos-6.4-x86_64-base' setting option 'enabled' = '1'
Repo 'centos-6.4-x86_64-base' setting option 'gpgcheck' = '1'
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root at testspacewalk ~]#

Awaiting your help,

Thanks and Regards,
Dhaval Oza



----- Original Message -----
From: "Robert Boyd" <Robert.Boyd at peoplefluent.com>
To: spacewalk-list at redhat.com
Sent: Monday, March 17, 2014 8:58:53 PM
Subject: Re: [Spacewalk-list] Client machine update issue without internet

Dhaval,

So do you use /etc/hosts on the client to provide a name/IP address match for the spacewalk master server?
When you say you removed the gateway IP, do you have any routes in your route table?  What does route -n show?

Also, what do you get when you do this command:

  yum repolist --verbose

Robert

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Dhaval Oza
Sent: Friday, March 14, 2014 8:46 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Client machine update issue without internet

Hi Lukas,

Yes the client connects to spacewalk server locally, on a LAN, and it has network connection for communication with the spacewalk server. 

What I mean by stopping internet connection is the following:

I removed gateway IP on client side machines.
I removed DNS IPs on client side machines.

This is needed to be done since our requirement is that no client should be able to connect to internet, however they should be able to connect to spacewalk server.

I hope this makes it clear.

Awaiting your help,

Thanks and Regards,
Dhaval



----- Original Message -----
From: "Lukas Pramuk" <lpramuk at redhat.com>
To: spacewalk-list at redhat.com
Sent: Thursday, March 13, 2014 9:09:15 PM
Subject: Re: [Spacewalk-list] Client machine update issue without internet

Hi,
I assume that the client connects to spacewalk server locally, on a LAN.
So the client needs network connection for communication with the spacewalk server.

What you mean with "stop internet connection on client"?
How do you do that?

Regards,

Lukas Pramuk
Systems Management QA, Red Hat


On 03/13/2014 03:56 PM, Dhaval Oza wrote:
> Dear Sir,
>
> We have configured and installed  Spacewalk Server 2.2  nightly on 
> Centos 6.5 & spacewalk client machine. All things are working 
> perfectly fine on server side also the client side tool has been 
> installed on server to communicate with client machine with activation 
> key for getting updates from spacewalk server but the problem is when 
> i stop internet connection on client machine we are not getting any 
> updates and also when I trigger "yum repolist" command on client 
> machine it shows  0 packages available.
>
> My problem is what to configure on client machine so I can get all the 
> updates from spacewalk server without internet connection.
>
> And also let me know what to do on client machine and which file we 
> have to check and do the changes accordingly .
>
> It will be grateful if any one can help us in solving the issue.
>
> Thanks and Regards,
> Dhaval Oza.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list